diff --git a/packages/@azure/arm-recoveryservices-siterecovery/LICENSE.txt b/packages/@azure/arm-recoveryservices-siterecovery/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/LICENSE.txt +++ b/packages/@azure/arm-recoveryservices-siterecovery/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/@azure/arm-recoveryservices-siterecovery/README.md b/packages/@azure/arm-recoveryservices-siterecovery/README.md index 6ac1c8a5f024..555b994196c5 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/README.md +++ b/packages/@azure/arm-recoveryservices-siterecovery/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for SiteRecoveryManagementClient. ### How to Install -``` +```bash npm install @azure/arm-recoveryservices-siterecovery ``` @@ -19,13 +19,13 @@ npm install @azure/arm-recoveryservices-siterecovery ##### Install @azure/ms-rest-nodeauth -``` +```bash npm install @azure/ms-rest-nodeauth ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -47,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/index.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/index.ts index bc6c2955108e..fa91f5d2996e 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/index.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/index.ts @@ -14,6 +14,104 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; +/** + * @interface + * An interface representing A2AVmDiskInputDetails. + * Azure VM disk input details. + * + */ +export interface A2AVmDiskInputDetails { + /** + * @member {string} [diskUri] The disk Uri. + */ + diskUri?: string; + /** + * @member {string} [recoveryAzureStorageAccountId] The recovery VHD storage + * account Id. + */ + recoveryAzureStorageAccountId?: string; + /** + * @member {string} [primaryStagingAzureStorageAccountId] The primary staging + * storage account Id. + */ + primaryStagingAzureStorageAccountId?: string; +} + +/** + * @interface + * An interface representing A2AVmManagedDiskInputDetails. + * Azure VM managed disk input details. + * + */ +export interface A2AVmManagedDiskInputDetails { + /** + * @member {string} [diskId] The disk Id. + */ + diskId?: string; + /** + * @member {string} [primaryStagingAzureStorageAccountId] The primary staging + * storage account Arm Id. + */ + primaryStagingAzureStorageAccountId?: string; + /** + * @member {string} [recoveryResourceGroupId] The target resource group Arm + * Id. + */ + recoveryResourceGroupId?: string; + /** + * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. + * Its an optional value and will be same as source disk type if not user + * provided. + */ + recoveryReplicaDiskAccountType?: string; + /** + * @member {string} [recoveryTargetDiskAccountType] The target disk type + * after failover. Its an optional value and will be same as source disk type + * if not user provided. + */ + recoveryTargetDiskAccountType?: string; +} + +/** + * Contains the possible cases for AddDisksProviderSpecificInput. + */ +export type AddDisksProviderSpecificInputUnion = AddDisksProviderSpecificInput | A2AAddDisksInput; + +/** + * @interface + * An interface representing AddDisksProviderSpecificInput. + * Add Disks provider specific input. + * + */ +export interface AddDisksProviderSpecificInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "AddDisksProviderSpecificInput"; +} + +/** + * @interface + * An interface representing A2AAddDisksInput. + * A2A add disk(s) input. + * + */ +export interface A2AAddDisksInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * @member {A2AVmDiskInputDetails[]} [vmDisks] The list of vm disk details. + */ + vmDisks?: A2AVmDiskInputDetails[]; + /** + * @member {A2AVmManagedDiskInputDetails[]} [vmManagedDisks] The list of vm + * managed disk details. + */ + vmManagedDisks?: A2AVmManagedDiskInputDetails[]; +} + /** * Contains the possible cases for ApplyRecoveryPointProviderSpecificInput. */ @@ -48,7 +146,7 @@ export interface A2AApplyRecoveryPointInput { /** * Contains the possible cases for ReplicationProviderSpecificContainerCreationInput. */ -export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput; +export type ReplicationProviderSpecificContainerCreationInputUnion = ReplicationProviderSpecificContainerCreationInput | A2AContainerCreationInput | VMwareCbtContainerCreationInput; /** * @interface @@ -79,7 +177,7 @@ export interface A2AContainerCreationInput { /** * Contains the possible cases for ReplicationProviderSpecificContainerMappingInput. */ -export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput; +export type ReplicationProviderSpecificContainerMappingInputUnion = ReplicationProviderSpecificContainerMappingInput | A2AContainerMappingInput | VMwareCbtContainerMappingInput; /** * @interface @@ -117,64 +215,6 @@ export interface A2AContainerMappingInput { automationAccountArmId?: string; } -/** - * @interface - * An interface representing A2AVmDiskInputDetails. - * Azure VM disk input details. - * - */ -export interface A2AVmDiskInputDetails { - /** - * @member {string} [diskUri] The disk Uri. - */ - diskUri?: string; - /** - * @member {string} [recoveryAzureStorageAccountId] The recovery VHD storage - * account Id. - */ - recoveryAzureStorageAccountId?: string; - /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account Id. - */ - primaryStagingAzureStorageAccountId?: string; -} - -/** - * @interface - * An interface representing A2AVmManagedDiskInputDetails. - * Azure VM managed disk input details. - * - */ -export interface A2AVmManagedDiskInputDetails { - /** - * @member {string} [diskId] The disk Id. - */ - diskId?: string; - /** - * @member {string} [primaryStagingAzureStorageAccountId] The primary staging - * storage account Arm Id. - */ - primaryStagingAzureStorageAccountId?: string; - /** - * @member {string} [recoveryResourceGroupId] The target resource group Arm - * Id. - */ - recoveryResourceGroupId?: string; - /** - * @member {string} [recoveryReplicaDiskAccountType] The replica disk type. - * Its an optional value and will be same as source disk type if not user - * provided. - */ - recoveryReplicaDiskAccountType?: string; - /** - * @member {string} [recoveryTargetDiskAccountType] The target disk type - * after failover. Its an optional value and will be same as source disk type - * if not user provided. - */ - recoveryTargetDiskAccountType?: string; -} - /** * @interface * An interface representing DiskEncryptionKeyInfo. @@ -183,11 +223,11 @@ export interface A2AVmManagedDiskInputDetails { */ export interface DiskEncryptionKeyInfo { /** - * @member {string} [secretIdentifier] The secret url / identifier. + * @member {string} [secretIdentifier] The secret url / identifier. */ secretIdentifier?: string; /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for + * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for * secret. */ keyVaultResourceArmId?: string; @@ -201,11 +241,11 @@ export interface DiskEncryptionKeyInfo { */ export interface KeyEncryptionKeyInfo { /** - * @member {string} [keyIdentifier] The key url / identifier. + * @member {string} [keyIdentifier] The key url / identifier. */ keyIdentifier?: string; /** - * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for + * @member {string} [keyVaultResourceArmId] The KeyVault resource ARM id for * key. */ keyVaultResourceArmId?: string; @@ -581,6 +621,15 @@ export interface A2AProtectedDiskDetails { * virtual machine in MB. */ dataPendingAtSourceAgentInMB?: number; + /** + * @member {string} [diskState] The disk state. + */ + diskState?: string; + /** + * @member {string[]} [allowedDiskLevelOperation] The disk level operations + * list. + */ + allowedDiskLevelOperation?: string[]; /** * @member {boolean} [isDiskEncrypted] A value indicating whether vm has * encrypted os disk or not. @@ -690,6 +739,15 @@ export interface A2AProtectedManagedDiskDetails { * virtual machine in MB. */ dataPendingAtSourceAgentInMB?: number; + /** + * @member {string} [diskState] The disk state. + */ + diskState?: string; + /** + * @member {string[]} [allowedDiskLevelOperation] The disk level operations + * list. + */ + allowedDiskLevelOperation?: string[]; /** * @member {boolean} [isDiskEncrypted] A value indicating whether vm has * encrypted os disk or not. @@ -723,7 +781,7 @@ export interface A2AProtectedManagedDiskDetails { /** * Contains the possible cases for ProtectionContainerMappingProviderSpecificDetails. */ -export type ProtectionContainerMappingProviderSpecificDetailsUnion = ProtectionContainerMappingProviderSpecificDetails | A2AProtectionContainerMappingDetails; +export type ProtectionContainerMappingProviderSpecificDetailsUnion = ProtectionContainerMappingProviderSpecificDetails | A2AProtectionContainerMappingDetails | VMwareCbtProtectionContainerMappingDetails; /** * @interface @@ -806,6 +864,45 @@ export interface A2ARecoveryPointDetails { recoveryPointSyncType?: RecoveryPointSyncType; } +/** + * Contains the possible cases for RemoveDisksProviderSpecificInput. + */ +export type RemoveDisksProviderSpecificInputUnion = RemoveDisksProviderSpecificInput | A2ARemoveDisksInput; + +/** + * @interface + * An interface representing RemoveDisksProviderSpecificInput. + * Remove Disk provider specific input. + * + */ +export interface RemoveDisksProviderSpecificInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "RemoveDisksProviderSpecificInput"; +} + +/** + * @interface + * An interface representing A2ARemoveDisksInput. + * A2A remove disk(s) input. + * + */ +export interface A2ARemoveDisksInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "A2A"; + /** + * @member {string[]} [vmDisksUris] The list of vm disk vhd URIs. + */ + vmDisksUris?: string[]; + /** + * @member {string[]} [vmManagedDisksIds] The list of vm managed disk Ids. + */ + vmManagedDisksIds?: string[]; +} + /** * @interface * An interface representing VMNicDetails. @@ -866,40 +963,11 @@ export interface VMNicDetails { recoveryNicIpAddressType?: string; /** * @member {boolean} [enableAcceleratedNetworkingOnRecovery] A value - * indicating whether the NIC has accerated networking enabled. + * indicating whether the NIC has accelerated networking enabled. */ enableAcceleratedNetworkingOnRecovery?: boolean; } -/** - * @interface - * An interface representing RoleAssignment. - * Azure role assignment details. - * - */ -export interface RoleAssignment { - /** - * @member {string} [id] The ARM Id of the role assignment. - */ - id?: string; - /** - * @member {string} [name] The name of the role assignment. - */ - name?: string; - /** - * @member {string} [scope] Role assignment scope. - */ - scope?: string; - /** - * @member {string} [principalId] Principal Id. - */ - principalId?: string; - /** - * @member {string} [roleDefinitionId] Role definition id. - */ - roleDefinitionId?: string; -} - /** * @interface * An interface representing InputEndpoint. @@ -936,10 +1004,6 @@ export interface AzureToAzureVmSyncedConfigDetails { * @member {{ [propertyName: string]: string }} [tags] The Azure VM tags. */ tags?: { [propertyName: string]: string }; - /** - * @member {RoleAssignment[]} [roleAssignments] The Azure role assignments. - */ - roleAssignments?: RoleAssignment[]; /** * @member {InputEndpoint[]} [inputEndpoints] The Azure VM input endpoints. */ @@ -1377,70 +1441,176 @@ export interface A2AUpdateReplicationProtectedItemInput { /** * @interface - * An interface representing AddVCenterRequestProperties. - * The properties of an add vCenter request. + * An interface representing AddDisksInputProperties. + * Add Disks input properties. * */ -export interface AddVCenterRequestProperties { - /** - * @member {string} [friendlyName] The friendly name of the vCenter. - */ - friendlyName?: string; - /** - * @member {string} [ipAddress] The IP address of the vCenter to be - * discovered. - */ - ipAddress?: string; +export interface AddDisksInputProperties { /** - * @member {string} [processServerId] The process server Id from where the - * discovery is orchestrated. - */ - processServerId?: string; - /** - * @member {string} [port] The port number for discovery. - */ - port?: string; - /** - * @member {string} [runAsAccountId] The account Id which has privileges to - * discover the vCenter. + * @member {AddDisksProviderSpecificInputUnion} [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. */ - runAsAccountId?: string; + providerSpecificDetails?: AddDisksProviderSpecificInputUnion; } /** * @interface - * An interface representing AddVCenterRequest. - * Input required to add vCenter. + * An interface representing AddDisksInput. + * Input for add disk(s) operation. * */ -export interface AddVCenterRequest { +export interface AddDisksInput { /** - * @member {AddVCenterRequestProperties} [properties] The properties of an - * add vCenter request. + * @member {AddDisksInputProperties} [properties] Add disks input properties. */ - properties?: AddVCenterRequestProperties; + properties?: AddDisksInputProperties; } /** * @interface - * An interface representing AlertProperties. - * The proprties of an alert. + * An interface representing IdentityProviderInput. + * Identity provider input. * */ -export interface AlertProperties { +export interface IdentityProviderInput { /** - * @member {string} [sendToOwners] A value indicating whether to send email - * to subscription administrator. + * @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. */ - sendToOwners?: string; + tenantId: string; /** - * @member {string[]} [customEmailAddresses] The custom email address for - * sending emails. + * @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. */ - customEmailAddresses?: string[]; + applicationId: string; /** - * @member {string} [locale] The locale for the email notification. - */ + * @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. + */ + objectId: string; + /** + * @member {string} audience The intended Audience of the service principal + * with which the on-premise management/data plane components would + * communicate with our Azure services. + */ + audience: string; + /** + * @member {string} aadAuthority The base authority for Azure Active + * Directory authentication. + */ + aadAuthority: string; +} + +/** + * @interface + * An interface representing AddRecoveryServicesProviderInputProperties. + * The properties of an add provider request. + * + */ +export interface AddRecoveryServicesProviderInputProperties { + /** + * @member {string} machineName The name of the machine where the provider is + * getting added. + */ + machineName: string; + /** + * @member {IdentityProviderInput} authenticationIdentityInput The identity + * provider input for DRA authentication. + */ + authenticationIdentityInput: IdentityProviderInput; + /** + * @member {IdentityProviderInput} resourceAccessIdentityInput The identity + * provider input for resource access. + */ + resourceAccessIdentityInput: IdentityProviderInput; +} + +/** + * @interface + * An interface representing AddRecoveryServicesProviderInput. + * Input required to add a provider. + * + */ +export interface AddRecoveryServicesProviderInput { + /** + * @member {AddRecoveryServicesProviderInputProperties} properties The + * properties of an add provider request. + */ + properties: AddRecoveryServicesProviderInputProperties; +} + +/** + * @interface + * An interface representing AddVCenterRequestProperties. + * The properties of an add vCenter request. + * + */ +export interface AddVCenterRequestProperties { + /** + * @member {string} [friendlyName] The friendly name of the vCenter. + */ + friendlyName?: string; + /** + * @member {string} [ipAddress] The IP address of the vCenter to be + * discovered. + */ + ipAddress?: string; + /** + * @member {string} [processServerId] The process server Id from where the + * discovery is orchestrated. + */ + processServerId?: string; + /** + * @member {string} [port] The port number for discovery. + */ + port?: string; + /** + * @member {string} [runAsAccountId] The account Id which has privileges to + * discover the vCenter. + */ + runAsAccountId?: string; +} + +/** + * @interface + * An interface representing AddVCenterRequest. + * Input required to add vCenter. + * + */ +export interface AddVCenterRequest { + /** + * @member {AddVCenterRequestProperties} [properties] The properties of an + * add vCenter request. + */ + properties?: AddVCenterRequestProperties; +} + +/** + * @interface + * An interface representing AlertProperties. + * The properties of an alert. + * + */ +export interface AlertProperties { + /** + * @member {string} [sendToOwners] A value indicating whether to send email + * to subscription administrator. + */ + sendToOwners?: string; + /** + * @member {string[]} [customEmailAddresses] The custom email address for + * sending emails. + */ + customEmailAddresses?: string[]; + /** + * @member {string} [locale] The locale for the email notification. + */ locale?: string; } @@ -1907,8 +2077,8 @@ export interface FabricSpecificCreateNetworkMappingInput { /** * @interface * An interface representing AzureToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Azure to - * Azure Network mapping. + * Create network mappings input properties/behavior specific to Azure to Azure + * Network mapping. * */ export interface AzureToAzureCreateNetworkMappingInput { @@ -2137,7 +2307,7 @@ export interface InconsistentVmDetails { * @interface * An interface representing ConsistencyCheckTaskDetails. * This class contains monitoring details of all the inconsistent Protected - * Entites in Vmm. + * Entities in Vmm. * */ export interface ConsistencyCheckTaskDetails { @@ -2412,6 +2582,27 @@ export interface CreateRecoveryPlanInput { properties: CreateRecoveryPlanInputProperties; } +/** + * @interface + * An interface representing CurrentJobDetails. + * Current job details of the migration item. + * + */ +export interface CurrentJobDetails { + /** + * @member {string} [jobName] The job name. + */ + jobName?: string; + /** + * @member {string} [jobId] The ARM Id of the job being executed. + */ + jobId?: string; + /** + * @member {Date} [startTime] The start time of the job. + */ + startTime?: Date; +} + /** * @interface * An interface representing CurrentScenarioDetails. @@ -2436,7 +2627,7 @@ export interface CurrentScenarioDetails { /** * @interface * An interface representing DataStore. - * The datastore details of the MT. + * The data store details of the MT. * */ export interface DataStore { @@ -2553,7 +2744,7 @@ export interface DiscoverProtectableItemRequest { /** * @interface * An interface representing DiskDetails. - * Onprem disk details data. + * On-prem disk details data. * */ export interface DiskDetails { @@ -2642,6 +2833,56 @@ export interface Display { description?: string; } +/** + * Contains the possible cases for EnableMigrationProviderSpecificInput. + */ +export type EnableMigrationProviderSpecificInputUnion = EnableMigrationProviderSpecificInput | VMwareCbtEnableMigrationInput; + +/** + * @interface + * An interface representing EnableMigrationProviderSpecificInput. + * Enable migration provider specific input. + * + */ +export interface EnableMigrationProviderSpecificInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "EnableMigrationProviderSpecificInput"; +} + +/** + * @interface + * An interface representing EnableMigrationInputProperties. + * Enable migration input properties. + * + */ +export interface EnableMigrationInputProperties { + /** + * @member {string} policyId The policy Id. + */ + policyId: string; + /** + * @member {EnableMigrationProviderSpecificInputUnion} + * providerSpecificDetails The provider specific details. + */ + providerSpecificDetails: EnableMigrationProviderSpecificInputUnion; +} + +/** + * @interface + * An interface representing EnableMigrationInput. + * Enable migration input. + * + */ +export interface EnableMigrationInput { + /** + * @member {EnableMigrationInputProperties} properties Enable migration input + * properties. + */ + properties: EnableMigrationInputProperties; +} + /** * @interface * An interface representing EnableProtectionInputProperties. @@ -2848,6 +3089,16 @@ export interface HealthError { * @member {string} [entityId] ID of the entity. */ entityId?: string; + /** + * @member {string} [errorId] The health error unique id. + */ + errorId?: string; + /** + * @member {HealthErrorCustomerResolvability} [customerResolvability] Value + * indicating whether the health error is customer resolvable. Possible + * values include: 'Allowed', 'NotAllowed' + */ + customerResolvability?: HealthErrorCustomerResolvability; } /** @@ -2880,7 +3131,7 @@ export interface EventProperties { */ severity?: string; /** - * @member {Date} [timeOfOccurrence] The time of occurence of the event. + * @member {Date} [timeOfOccurrence] The time of occurrence of the event. */ timeOfOccurrence?: Date; /** @@ -4413,17 +4664,11 @@ export interface HyperVVirtualMachineDetails { /** * @interface - * An interface representing IdentityInformation. - * Identity details. + * An interface representing IdentityProviderDetails. + * Identity provider details. * */ -export interface IdentityInformation { - /** - * @member {IdentityProviderType} [identityProviderType] The identity - * provider type. Value is the ToString() of a IdentityProviderType value. - * Possible values include: 'RecoveryServicesActiveDirectory' - */ - identityProviderType?: IdentityProviderType; +export interface IdentityProviderDetails { /** * @member {string} [tenantId] The tenant Id for the service principal with * which the on-premise management/data plane components would communicate @@ -4453,12 +4698,6 @@ export interface IdentityInformation { * Directory authentication. */ aadAuthority?: string; - /** - * @member {string} [certificateThumbprint] The certificate thumbprint. - * Applicable only if IdentityProviderType is - * RecoveryServicesActiveDirectory. - */ - certificateThumbprint?: string; } /** @@ -4555,6 +4794,28 @@ export interface InMageAzureV2ApplyRecoveryPointInput { vaultLocation?: string; } +/** + * @interface + * An interface representing InMageAzureV2DiskInputDetails. + * Disk input details. + * + */ +export interface InMageAzureV2DiskInputDetails { + /** + * @member {string} [diskId] The DiskId. + */ + diskId?: string; + /** + * @member {string} [logStorageAccountId] The LogStorageAccountId. + */ + logStorageAccountId?: string; + /** + * @member {DiskAccountType} [diskType] The DiskType. Possible values + * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + */ + diskType?: DiskAccountType; +} + /** * @interface * An interface representing InMageAzureV2EnableProtectionInput. @@ -4575,9 +4836,9 @@ export interface InMageAzureV2EnableProtectionInput { */ processServerId?: string; /** - * @member {string} storageAccountId The storage account name. + * @member {string} [storageAccountId] The storage account name. */ - storageAccountId: string; + storageAccountId?: string; /** * @member {string} [runAsAccountId] The CS account Id. */ @@ -4591,9 +4852,10 @@ export interface InMageAzureV2EnableProtectionInput { */ multiVmGroupName?: string; /** - * @member {string[]} [disksToInclude] The disks to include list. + * @member {InMageAzureV2DiskInputDetails[]} [disksToInclude] The disks to + * include list. */ - disksToInclude?: string[]; + disksToInclude?: InMageAzureV2DiskInputDetails[]; /** * @member {string} [targetAzureNetworkId] The selected target Azure network * Id. @@ -4632,10 +4894,10 @@ export interface InMageAzureV2EnableProtectionInput { */ targetAzureV2ResourceGroupId?: string; /** - * @member {string} [useManagedDisks] A value indicating whether managed - * disks should be used during failover. + * @member {DiskAccountType} [diskType] The DiskType. Possible values + * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - useManagedDisks?: string; + diskType?: DiskAccountType; } /** @@ -4704,6 +4966,27 @@ export interface InMageAzureV2FailoverProviderInput { recoveryPointId?: string; } +/** + * @interface + * An interface representing InMageAzureV2ManagedDiskDetails. + * InMageAzureV2 Managed disk details. + * + */ +export interface InMageAzureV2ManagedDiskDetails { + /** + * @member {string} [diskId] The disk id. + */ + diskId?: string; + /** + * @member {string} [seedManagedDiskId] Seed managed disk Id. + */ + seedManagedDiskId?: string; + /** + * @member {string} [replicaDiskType] The replica disk type. + */ + replicaDiskType?: string; +} + /** * @interface * An interface representing InMageAzureV2PolicyDetails. @@ -5055,8 +5338,8 @@ export interface InMageAzureV2ReplicationDetails { */ enableRdpOnTargetOption?: string; /** - * @member {string[]} [datastores] The datastores of the on-premise machine. - * Value can be list of strings that contain datastore names. + * @member {string[]} [datastores] The data stores of the on-premise machine. + * Value can be list of strings that contain data store names. */ datastores?: string[]; /** @@ -5106,6 +5389,11 @@ export interface InMageAzureV2ReplicationDetails { * @member {string} [osVersion] The OS Version of the protected item. */ osVersion?: string; + /** + * @member {InMageAzureV2ManagedDiskDetails[]} [protectedManagedDisks] The + * list of protected managed disks. + */ + protectedManagedDisks?: InMageAzureV2ManagedDiskDetails[]; } /** @@ -5360,7 +5648,7 @@ export interface InMageEnableProtectionInput { */ multiVmGroupName: string; /** - * @member {string} [datastoreName] The target datastore name. + * @member {string} [datastoreName] The target data store name. */ datastoreName?: string; /** @@ -5715,8 +6003,8 @@ export interface InMageReplicationDetails { */ azureStorageAccountId?: string; /** - * @member {string[]} [datastores] The datastores of the on-premise machine - * Value can be list of strings that contain datastore names + * @member {string[]} [datastores] The data stores of the on-premise machine + * Value can be list of strings that contain data store names */ datastores?: string[]; /** @@ -5771,7 +6059,7 @@ export interface InMageReprotectInput { */ runAsAccountId?: string; /** - * @member {string} [datastoreName] The target datastore name. + * @member {string} [datastoreName] The target data store name. */ datastoreName?: string; /** @@ -5887,7 +6175,7 @@ export interface JobQueryParameter { */ startTime?: string; /** - * @member {string} [endTime] Date time to get jobs upto. + * @member {string} [endTime] Date time to get jobs up to. */ endTime?: string; /** @@ -6154,99 +6442,332 @@ export interface MasterTargetServer { marsAgentVersionDetails?: VersionDetails; } +/** + * Contains the possible cases for MigrateProviderSpecificInput. + */ +export type MigrateProviderSpecificInputUnion = MigrateProviderSpecificInput | VMwareCbtMigrateInput; + /** * @interface - * An interface representing MobilityServiceUpdate. - * The Mobility Service update details. + * An interface representing MigrateProviderSpecificInput. + * Migrate provider specific input. * */ -export interface MobilityServiceUpdate { - /** - * @member {string} [version] The version of the latest update. - */ - version?: string; - /** - * @member {string} [rebootStatus] The reboot status of the update - whether - * it is required or not. - */ - rebootStatus?: string; +export interface MigrateProviderSpecificInput { /** - * @member {string} [osType] The OS type. + * @member {string} instanceType Polymorphic Discriminator */ - osType?: string; + instanceType: "MigrateProviderSpecificInput"; } /** * @interface - * An interface representing Subnet. - * Subnets of the network. + * An interface representing MigrateInputProperties. + * Migrate input properties. * */ -export interface Subnet { - /** - * @member {string} [name] The subnet name. - */ - name?: string; +export interface MigrateInputProperties { /** - * @member {string} [friendlyName] The subnet friendly name. - */ - friendlyName?: string; - /** - * @member {string[]} [addressList] The list of addresses for the subnet. + * @member {MigrateProviderSpecificInputUnion} providerSpecificDetails The + * provider specific details. */ - addressList?: string[]; + providerSpecificDetails: MigrateProviderSpecificInputUnion; } /** * @interface - * An interface representing NetworkProperties. - * Network Properties + * An interface representing MigrateInput. + * Input for migrate. * */ -export interface NetworkProperties { - /** - * @member {string} [fabricType] The Fabric Type. - */ - fabricType?: string; - /** - * @member {Subnet[]} [subnets] The List of subnets. - */ - subnets?: Subnet[]; - /** - * @member {string} [friendlyName] The Friendly Name. - */ - friendlyName?: string; +export interface MigrateInput { /** - * @member {string} [networkType] The Network Type. + * @member {MigrateInputProperties} properties Migrate input properties. */ - networkType?: string; + properties: MigrateInputProperties; } +/** + * Contains the possible cases for MigrationProviderSpecificSettings. + */ +export type MigrationProviderSpecificSettingsUnion = MigrationProviderSpecificSettings | VMwareCbtMigrationDetails; + /** * @interface - * An interface representing Network. - * Network model. + * An interface representing MigrationProviderSpecificSettings. + * Migration provider specific settings. * - * @extends Resource */ -export interface Network extends Resource { +export interface MigrationProviderSpecificSettings { /** - * @member {NetworkProperties} [properties] The Network Properties. + * @member {string} instanceType Polymorphic Discriminator */ - properties?: NetworkProperties; + instanceType: "MigrationProviderSpecificSettings"; } /** * @interface - * An interface representing NetworkMappingProperties. - * Network Mapping Properties. + * An interface representing MigrationItemProperties. + * Migration item properties. * */ -export interface NetworkMappingProperties { +export interface MigrationItemProperties { /** - * @member {string} [state] The pairing state for network mapping. + * @member {string} [machineName] The on-premise virtual machine name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - state?: string; + readonly machineName?: string; + /** + * @member {string} [policyId] The ARM Id of policy governing this item. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly policyId?: string; + /** + * @member {string} [policyFriendlyName] The name of policy governing this + * item. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly policyFriendlyName?: string; + /** + * @member {string} [recoveryServicesProviderId] The recovery services + * provider ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly recoveryServicesProviderId?: string; + /** + * @member {MigrationState} [migrationState] The migration status. Possible + * values include: 'None', 'EnableMigrationInProgress', + * 'EnableMigrationFailed', 'DisableMigrationInProgress', + * 'DisableMigrationFailed', 'InitialSeedingInProgress', + * 'InitialSeedingFailed', 'Replicating', 'MigrationInProgress', + * 'MigrationSucceeded', 'MigrationFailed' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly migrationState?: MigrationState; + /** + * @member {string} [migrationStateDescription] The migration state + * description. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly migrationStateDescription?: string; + /** + * @member {TestMigrationState} [testMigrateState] The test migrate state. + * Possible values include: 'None', 'TestMigrationInProgress', + * 'TestMigrationSucceeded', 'TestMigrationFailed', + * 'TestMigrationCleanupInProgress' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly testMigrateState?: TestMigrationState; + /** + * @member {string} [testMigrateStateDescription] The test migrate state + * description. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly testMigrateStateDescription?: string; + /** + * @member {string} [health] The consolidated health. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly health?: string; + /** + * @member {HealthError[]} [healthErrors] The list of health errors. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly healthErrors?: HealthError[]; + /** + * @member {MigrationItemOperation[]} [allowedOperations] The allowed + * operations on the migration item, based on the current migration state of + * the item. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly allowedOperations?: MigrationItemOperation[]; + /** + * @member {CurrentJobDetails} [currentJob] The current job details. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly currentJob?: CurrentJobDetails; + /** + * @member {MigrationProviderSpecificSettingsUnion} [providerSpecificDetails] + * The migration provider custom settings. + */ + providerSpecificDetails?: MigrationProviderSpecificSettingsUnion; +} + +/** + * @interface + * An interface representing MigrationItem. + * Migration item. + * + * @extends Resource + */ +export interface MigrationItem extends Resource { + /** + * @member {MigrationItemProperties} [properties] The migration item + * properties. + */ + properties?: MigrationItemProperties; +} + +/** + * @interface + * An interface representing MigrationItemsQueryParameter. + * Query parameter to enumerate migration items. + * + */ +export interface MigrationItemsQueryParameter { + /** + * @member {string} [sourceFabricName] The source fabric name filter. + */ + sourceFabricName?: string; + /** + * @member {string} [instanceType] The replication provider type. + */ + instanceType?: string; +} + +/** + * @interface + * An interface representing MigrationRecoveryPointProperties. + * Migration item recovery point properties. + * + */ +export interface MigrationRecoveryPointProperties { + /** + * @member {Date} [recoveryPointTime] The recovery point time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly recoveryPointTime?: Date; + /** + * @member {MigrationRecoveryPointType} [recoveryPointType] The recovery + * point type. Possible values include: 'NotSpecified', + * 'ApplicationConsistent', 'CrashConsistent' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly recoveryPointType?: MigrationRecoveryPointType; +} + +/** + * @interface + * An interface representing MigrationRecoveryPoint. + * Recovery point for a migration item. + * + * @extends Resource + */ +export interface MigrationRecoveryPoint extends Resource { + /** + * @member {MigrationRecoveryPointProperties} [properties] Recovery point + * properties. + */ + properties?: MigrationRecoveryPointProperties; +} + +/** + * @interface + * An interface representing MobilityServiceUpdate. + * The Mobility Service update details. + * + */ +export interface MobilityServiceUpdate { + /** + * @member {string} [version] The version of the latest update. + */ + version?: string; + /** + * @member {string} [rebootStatus] The reboot status of the update - whether + * it is required or not. + */ + rebootStatus?: string; + /** + * @member {string} [osType] The OS type. + */ + osType?: string; +} + +/** + * @interface + * An interface representing Subnet. + * Subnets of the network. + * + */ +export interface Subnet { + /** + * @member {string} [name] The subnet name. + */ + name?: string; + /** + * @member {string} [friendlyName] The subnet friendly name. + */ + friendlyName?: string; + /** + * @member {string[]} [addressList] The list of addresses for the subnet. + */ + addressList?: string[]; +} + +/** + * @interface + * An interface representing NetworkProperties. + * Network Properties + * + */ +export interface NetworkProperties { + /** + * @member {string} [fabricType] The Fabric Type. + */ + fabricType?: string; + /** + * @member {Subnet[]} [subnets] The List of subnets. + */ + subnets?: Subnet[]; + /** + * @member {string} [friendlyName] The Friendly Name. + */ + friendlyName?: string; + /** + * @member {string} [networkType] The Network Type. + */ + networkType?: string; +} + +/** + * @interface + * An interface representing Network. + * Network model. + * + * @extends Resource + */ +export interface Network extends Resource { + /** + * @member {NetworkProperties} [properties] The Network Properties. + */ + properties?: NetworkProperties; +} + +/** + * @interface + * An interface representing NetworkMappingProperties. + * Network Mapping Properties. + * + */ +export interface NetworkMappingProperties { + /** + * @member {string} [state] The pairing state for network mapping. + */ + state?: string; /** * @member {string} [primaryNetworkFriendlyName] The primary network friendly * name. @@ -6296,7 +6817,7 @@ export interface NetworkMappingProperties { * 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. + * references to base models to facilitate extensions in subsequent versions. * * @extends Resource */ @@ -6353,6 +6874,23 @@ export interface OperationsDiscovery { properties?: any; } +/** + * @interface + * An interface representing OSVersionWrapper. + * Wrapper model for OSVersion to include version and service pack info. + * + */ +export interface OSVersionWrapper { + /** + * @member {string} [version] The version. + */ + version?: string; + /** + * @member {string} [servicePack] Service pack. + */ + servicePack?: string; +} + /** * @interface * An interface representing PlannedFailoverInputProperties. @@ -6651,7 +7189,7 @@ export interface ProtectedItemsQueryParameter { */ export interface ProtectionContainerFabricSpecificDetails { /** - * @member {string} [instanceType] Gets the class type. Overriden in derived + * @member {string} [instanceType] Gets the class type. Overridden in derived * classes. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -7447,9 +7985,15 @@ export interface RecoveryServicesProviderProperties { */ draIdentifier?: string; /** - * @member {IdentityInformation} [identityDetails] The identity details. + * @member {IdentityProviderDetails} [authenticationIdentityDetails] The + * authentication identity details. + */ + authenticationIdentityDetails?: IdentityProviderDetails; + /** + * @member {IdentityProviderDetails} [resourceAccessIdentityDetails] The + * resource access identity details. */ - identityDetails?: IdentityInformation; + resourceAccessIdentityDetails?: IdentityProviderDetails; /** * @member {VersionDetails} [providerVersionDetails] The provider version * details. @@ -7472,6 +8016,37 @@ export interface RecoveryServicesProvider extends Resource { properties?: RecoveryServicesProviderProperties; } +/** + * @interface + * An interface representing RemoveDisksInputProperties. + * Remove Disk input properties. + * + */ +export interface RemoveDisksInputProperties { + /** + * @member {RemoveDisksProviderSpecificInputUnion} [providerSpecificDetails] + * The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be + * AzureEnableProtectionInput object. For San provider, it will be + * SanEnableProtectionInput object. For HyperVReplicaAzure provider, it can + * be null. + */ + providerSpecificDetails?: RemoveDisksProviderSpecificInputUnion; +} + +/** + * @interface + * An interface representing RemoveDisksInput. + * Input for remove disk(s) operation. + * + */ +export interface RemoveDisksInput { + /** + * @member {RemoveDisksInputProperties} [properties] Remove disk input + * properties. + */ + properties?: RemoveDisksInputProperties; +} + /** * @interface * An interface representing ReplicationProviderContainerUnmappingInput. @@ -7702,6 +8277,46 @@ export interface ReplicationProtectedItem extends Resource { properties?: ReplicationProtectedItemProperties; } +/** + * @interface + * An interface representing ResolveHealthError. + * Resolve health errors input properties. + * + */ +export interface ResolveHealthError { + /** + * @member {string} [healthErrorId] Health error id. + */ + healthErrorId?: string; +} + +/** + * @interface + * An interface representing ResolveHealthInputProperties. + * Resolve health input properties. + * + */ +export interface ResolveHealthInputProperties { + /** + * @member {ResolveHealthError[]} [healthErrors] Health errors. + */ + healthErrors?: ResolveHealthError[]; +} + +/** + * @interface + * An interface representing ResolveHealthInput. + * Resolve health input. + * + */ +export interface ResolveHealthInput { + /** + * @member {ResolveHealthInputProperties} [properties] Disable resolve health + * input properties. + */ + properties?: ResolveHealthInputProperties; +} + /** * @interface * An interface representing ResourceHealthSummary. @@ -7711,7 +8326,7 @@ export interface ReplicationProtectedItem extends Resource { */ export interface ResourceHealthSummary { /** - * @member {number} [resourceCount] The count of total resources umder the + * @member {number} [resourceCount] The count of total resources under the * container. */ resourceCount?: number; @@ -7782,15 +8397,44 @@ export interface ReverseReplicationInput { /** * @interface - * An interface representing RunAsAccount. - * CS Accounts Details. + * An interface representing RoleAssignment. + * Azure role assignment details. * */ -export interface RunAsAccount { +export interface RoleAssignment { /** - * @member {string} [accountId] The CS RunAs account Id. + * @member {string} [id] The ARM Id of the role assignment. */ - accountId?: string; + id?: string; + /** + * @member {string} [name] The name of the role assignment. + */ + name?: string; + /** + * @member {string} [scope] Role assignment scope. + */ + scope?: string; + /** + * @member {string} [principalId] Principal Id. + */ + principalId?: string; + /** + * @member {string} [roleDefinitionId] Role definition id. + */ + roleDefinitionId?: string; +} + +/** + * @interface + * An interface representing RunAsAccount. + * CS Accounts Details. + * + */ +export interface RunAsAccount { + /** + * @member {string} [accountId] The CS RunAs account Id. + */ + accountId?: string; /** * @member {string} [accountName] The CS RunAs account name. */ @@ -7863,7 +8507,7 @@ export interface StorageClassificationProperties { */ export interface StorageClassification extends Resource { /** - * @member {StorageClassificationProperties} [properties] Proprties of the + * @member {StorageClassificationProperties} [properties] Properties of the * storage object. */ properties?: StorageClassificationProperties; @@ -7891,8 +8535,8 @@ export interface StorageClassificationMappingProperties { */ export interface StorageClassificationMapping extends Resource { /** - * @member {StorageClassificationMappingProperties} [properties] Proprties of - * the storage mappping object. + * @member {StorageClassificationMappingProperties} [properties] Properties + * of the storage mapping object. */ properties?: StorageClassificationMappingProperties; } @@ -7925,6 +8569,74 @@ export interface StorageClassificationMappingInput { properties?: StorageMappingInputProperties; } +/** + * @interface + * An interface representing SupportedOSDetails. + * Supported Operating system details. + * + */ +export interface SupportedOSDetails { + /** + * @member {string} [osName] The name. + */ + osName?: string; + /** + * @member {string} [osType] The type. + */ + osType?: string; + /** + * @member {OSVersionWrapper[]} [osVersions] List of version for OS. + */ + osVersions?: OSVersionWrapper[]; +} + +/** + * @interface + * An interface representing SupportedOSProperty. + * Property object for supported OS api. + * + */ +export interface SupportedOSProperty { + /** + * @member {string} [instanceType] Gets the replication provider type. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly instanceType?: string; + /** + * @member {SupportedOSDetails[]} [supportedOs] List of supported OS. + */ + supportedOs?: SupportedOSDetails[]; +} + +/** + * @interface + * An interface representing SupportedOSProperties. + * Properties model for supported OS API. + * + */ +export interface SupportedOSProperties { + /** + * @member {SupportedOSProperty[]} [supportedOsList] The supported OS List. + */ + supportedOsList?: SupportedOSProperty[]; +} + +/** + * @interface + * An interface representing SupportedOperatingSystems. + * Response object for supported operating systems API. + * + * @extends Resource + */ +export interface SupportedOperatingSystems extends Resource { + /** + * @member {SupportedOSProperties} [properties] Properties model for + * supported OS API. + */ + properties?: SupportedOSProperties; +} + /** * @interface * An interface representing SwitchProtectionInputProperties. @@ -8172,6 +8884,79 @@ export interface TestFailoverJobDetails { protectedItemDetails?: FailoverReplicationProtectedItemDetails[]; } +/** + * @interface + * An interface representing TestMigrateCleanupInputProperties. + * Test migrate cleanup input properties. + * + */ +export interface TestMigrateCleanupInputProperties { + /** + * @member {string} [comments] Test migrate cleanup comments. + */ + comments?: string; +} + +/** + * @interface + * An interface representing TestMigrateCleanupInput. + * Input for test migrate cleanup. + * + */ +export interface TestMigrateCleanupInput { + /** + * @member {TestMigrateCleanupInputProperties} properties Test migrate + * cleanup input properties. + */ + properties: TestMigrateCleanupInputProperties; +} + +/** + * Contains the possible cases for TestMigrateProviderSpecificInput. + */ +export type TestMigrateProviderSpecificInputUnion = TestMigrateProviderSpecificInput | VMwareCbtTestMigrateInput; + +/** + * @interface + * An interface representing TestMigrateProviderSpecificInput. + * Test migrate provider specific input. + * + */ +export interface TestMigrateProviderSpecificInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "TestMigrateProviderSpecificInput"; +} + +/** + * @interface + * An interface representing TestMigrateInputProperties. + * Test migrate input properties. + * + */ +export interface TestMigrateInputProperties { + /** + * @member {TestMigrateProviderSpecificInputUnion} providerSpecificDetails + * The provider specific details. + */ + providerSpecificDetails: TestMigrateProviderSpecificInputUnion; +} + +/** + * @interface + * An interface representing TestMigrateInput. + * Input for test migrate. + * + */ +export interface TestMigrateInput { + /** + * @member {TestMigrateInputProperties} properties Test migrate input + * properties. + */ + properties: TestMigrateInputProperties; +} + /** * @interface * An interface representing UnplannedFailoverInputProperties. @@ -8208,6 +8993,53 @@ export interface UnplannedFailoverInput { properties?: UnplannedFailoverInputProperties; } +/** + * Contains the possible cases for UpdateMigrationItemProviderSpecificInput. + */ +export type UpdateMigrationItemProviderSpecificInputUnion = UpdateMigrationItemProviderSpecificInput | VMwareCbtUpdateMigrationItemInput; + +/** + * @interface + * An interface representing UpdateMigrationItemProviderSpecificInput. + * Update migration item provider specific input. + * + */ +export interface UpdateMigrationItemProviderSpecificInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "UpdateMigrationItemProviderSpecificInput"; +} + +/** + * @interface + * An interface representing UpdateMigrationItemInputProperties. + * Update migration item input properties. + * + */ +export interface UpdateMigrationItemInputProperties { + /** + * @member {UpdateMigrationItemProviderSpecificInputUnion} + * providerSpecificDetails The provider specific input to update migration + * item. + */ + providerSpecificDetails: UpdateMigrationItemProviderSpecificInputUnion; +} + +/** + * @interface + * An interface representing UpdateMigrationItemInput. + * Update migration item input. + * + */ +export interface UpdateMigrationItemInput { + /** + * @member {UpdateMigrationItemInputProperties} [properties] Update migration + * item input properties. + */ + properties?: UpdateMigrationItemInputProperties; +} + /** * @interface * An interface representing UpdateMobilityServiceRequestProperties. @@ -8331,7 +9163,7 @@ export interface UpdateProtectionContainerMappingInput { /** * @interface * An interface representing UpdateRecoveryPlanInputProperties. - * Recovery plan updation properties. + * Recovery plan update properties. * */ export interface UpdateRecoveryPlanInputProperties { @@ -8381,7 +9213,7 @@ export interface VMNicInputDetails { selectionType?: string; /** * @member {boolean} [enableAcceleratedNetworkingOnRecovery] Whether the NIC - * has accerated networking enabled. + * has accelerated networking enabled. */ enableAcceleratedNetworkingOnRecovery?: boolean; } @@ -8479,7 +9311,7 @@ export interface UpdateVCenterRequestProperties { */ port?: string; /** - * @member {string} [runAsAccountId] The CS account Id which has priviliges + * @member {string} [runAsAccountId] The CS account Id which has privileges * to update the vCenter. */ runAsAccountId?: string; @@ -8559,7 +9391,7 @@ export interface VCenterProperties { internalId?: string; /** * @member {Date} [lastHeartbeat] The time when the last heartbeat was - * reveived by vCenter. + * received by vCenter. */ lastHeartbeat?: Date; /** @@ -8653,7 +9485,7 @@ export interface VmmDetails { /** * @interface * An interface representing VmmToAzureCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to Vmm to Azure + * Create network mappings input properties/behavior specific to Vmm to Azure * Network mapping. * */ @@ -8680,7 +9512,7 @@ export interface VmmToAzureNetworkMappingSettings { /** * @interface * An interface representing VmmToAzureUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to azure. + * Update network mappings input properties/behavior specific to vmm to azure. * */ export interface VmmToAzureUpdateNetworkMappingInput { @@ -8693,7 +9525,7 @@ export interface VmmToAzureUpdateNetworkMappingInput { /** * @interface * An interface representing VmmToVmmCreateNetworkMappingInput. - * Create network mappings input properties/behaviour specific to vmm to vmm + * Create network mappings input properties/behavior specific to vmm to vmm * Network mapping. * */ @@ -8720,7 +9552,7 @@ export interface VmmToVmmNetworkMappingSettings { /** * @interface * An interface representing VmmToVmmUpdateNetworkMappingInput. - * Update network mappings input properties/behaviour specific to vmm to vmm. + * Update network mappings input properties/behavior specific to vmm to vmm. * */ export interface VmmToVmmUpdateNetworkMappingInput { @@ -8807,671 +9639,1283 @@ export interface VmNicUpdatesTaskDetails { /** * @interface - * An interface representing VMwareCbtPolicyCreationInput. - * VMware Cbt Policy creation input. + * An interface representing VMwareCbtContainerCreationInput. + * VMwareCbt container creation input. * */ -export interface VMwareCbtPolicyCreationInput { +export interface VMwareCbtContainerCreationInput { /** * @member {string} instanceType Polymorphic Discriminator */ - instanceType: "VMwareCbt"; - /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. - */ - recoveryPointHistory?: number; - /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency (in minutes). - */ - crashConsistentFrequencyInMinutes?: number; - /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency (in minutes). - */ - appConsistentFrequencyInMinutes?: number; + instanceType: "6c7da455-506f-43ff-a16a-8eb101aebb70"; } /** * @interface - * An interface representing VmwareCbtPolicyDetails. - * VMware Cbt specific policy details. + * An interface representing VMwareCbtContainerMappingInput. + * VMwareCbt container mapping input. * */ -export interface VmwareCbtPolicyDetails { +export interface VMwareCbtContainerMappingInput { /** * @member {string} instanceType Polymorphic Discriminator */ instanceType: "VMwareCbt"; /** - * @member {number} [recoveryPointThresholdInMinutes] The recovery point - * threshold in minutes. + * @member {string} keyVaultId The target key vault ARM Id. */ - recoveryPointThresholdInMinutes?: number; + keyVaultId: string; /** - * @member {number} [recoveryPointHistory] The duration in minutes until - * which the recovery points need to be stored. + * @member {string} keyVaultUri The target key vault URL. */ - recoveryPointHistory?: number; + keyVaultUri: string; /** - * @member {number} [appConsistentFrequencyInMinutes] The app consistent - * snapshot frequency in minutes. + * @member {string} storageAccountId The storage account ARM Id. */ - appConsistentFrequencyInMinutes?: number; + storageAccountId: string; /** - * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent - * snapshot frequency in minutes. + * @member {string} storageAccountSasSecretName The secret name of the + * storage account. */ - crashConsistentFrequencyInMinutes?: number; + storageAccountSasSecretName: string; + /** + * @member {string} serviceBusConnectionStringSecretName The secret name of + * the service bus connection string. + */ + serviceBusConnectionStringSecretName: string; + /** + * @member {string} targetLocation The target location. + */ + targetLocation: string; } /** * @interface - * An interface representing VMwareDetails. - * Store the fabric details specific to the VMware fabric. + * An interface representing VMwareCbtDiskInput. + * VMwareCbt disk input. * */ -export interface VMwareDetails { +export interface VMwareCbtDiskInput { /** - * @member {string} instanceType Polymorphic Discriminator + * @member {string} diskId The disk Id. */ - instanceType: "VMware"; + diskId: string; /** - * @member {ProcessServer[]} [processServers] The list of Process Servers - * associated with the fabric. + * @member {string} isOSDisk A value indicating whether the disk is the OS + * disk. */ - processServers?: ProcessServer[]; + isOSDisk: string; /** - * @member {MasterTargetServer[]} [masterTargetServers] The list of Master - * Target servers associated with the fabric. + * @member {string} logStorageAccountId The log storage account ARM Id. */ - masterTargetServers?: MasterTargetServer[]; + logStorageAccountId: string; /** - * @member {RunAsAccount[]} [runAsAccounts] The list of run as accounts - * created on the server. + * @member {string} logStorageAccountSasSecretName The key vault secret name + * of the log storage account. */ - runAsAccounts?: RunAsAccount[]; + logStorageAccountSasSecretName: string; /** - * @member {string} [replicationPairCount] The number of replication pairs - * configured in this CS. + * @member {DiskAccountType} [diskType] The disk type. Possible values + * include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - replicationPairCount?: string; + diskType?: DiskAccountType; +} + +/** + * @interface + * An interface representing VMwareCbtEnableMigrationInput. + * VMwareCbt specific enable migration input. + * + */ +export interface VMwareCbtEnableMigrationInput { /** - * @member {string} [processServerCount] The number of process servers. + * @member {string} instanceType Polymorphic Discriminator */ - processServerCount?: string; + instanceType: "VMwareCbt"; /** - * @member {string} [agentCount] The number of source and target servers - * configured to talk to this CS. + * @member {string} vmwareMachineId The ARM Id of the VM discovered in + * VMware. */ - agentCount?: string; + vmwareMachineId: string; /** - * @member {string} [protectedServers] The number of protected servers. + * @member {VMwareCbtDiskInput[]} disksToInclude The disks to include list. */ - protectedServers?: string; + disksToInclude: VMwareCbtDiskInput[]; /** - * @member {string} [systemLoad] The percentage of the system load. + * @member {LicenseType} [licenseType] License type. Possible values include: + * 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - systemLoad?: string; + licenseType?: LicenseType; /** - * @member {string} [systemLoadStatus] The system load status. + * @member {string} dataMoverRunAsAccountId The data mover RunAs account Id. */ - systemLoadStatus?: string; + dataMoverRunAsAccountId: string; /** - * @member {string} [cpuLoad] The percentage of the CPU load. + * @member {string} snapshotRunAsAccountId The snapshot RunAs account Id. */ - cpuLoad?: string; + snapshotRunAsAccountId: string; /** - * @member {string} [cpuLoadStatus] The CPU load status. + * @member {string} [targetVmName] The target VM name. */ - cpuLoadStatus?: string; + targetVmName?: string; /** - * @member {number} [totalMemoryInBytes] The total memory. + * @member {string} [targetVmSize] The target VM size. */ - totalMemoryInBytes?: number; + targetVmSize?: string; /** - * @member {number} [availableMemoryInBytes] The available memory. + * @member {string} targetResourceGroupId The target resource group ARM Id. */ - availableMemoryInBytes?: number; + targetResourceGroupId: string; /** - * @member {string} [memoryUsageStatus] The memory usage status. + * @member {string} targetNetworkId The target network ARM Id. */ - memoryUsageStatus?: string; + targetNetworkId: string; /** - * @member {number} [totalSpaceInBytes] The total space. + * @member {string} [targetSubnetName] The target subnet name. */ - totalSpaceInBytes?: number; + targetSubnetName?: string; /** - * @member {number} [availableSpaceInBytes] The available space. + * @member {string} [targetAvailabilitySetId] The target availability set ARM + * Id. */ - availableSpaceInBytes?: number; + targetAvailabilitySetId?: string; /** - * @member {string} [spaceUsageStatus] The space usage status. + * @member {string} [targetBootDiagnosticsStorageAccountId] The target boot + * diagnostics storage account ARM Id. */ - spaceUsageStatus?: string; + targetBootDiagnosticsStorageAccountId?: string; +} + +/** + * @interface + * An interface representing VMwareCbtMigrateInput. + * VMwareCbt specific migrate input. + * + */ +export interface VMwareCbtMigrateInput { /** - * @member {string} [webLoad] The web load. + * @member {string} instanceType Polymorphic Discriminator */ - webLoad?: string; + instanceType: "VMwareCbt"; /** - * @member {string} [webLoadStatus] The web load status. + * @member {string} performShutdown A value indicating whether VM is to be + * shutdown. */ - webLoadStatus?: string; - /** - * @member {string} [databaseServerLoad] The database server load. - */ - databaseServerLoad?: string; - /** - * @member {string} [databaseServerLoadStatus] The database server load - * status. - */ - databaseServerLoadStatus?: string; - /** - * @member {string} [csServiceStatus] The CS service status. - */ - csServiceStatus?: string; + performShutdown: string; +} + +/** + * @interface + * An interface representing VMwareCbtProtectedDiskDetails. + * VMwareCbt protected disk details. + * + */ +export interface VMwareCbtProtectedDiskDetails { /** - * @member {string} [ipAddress] The IP address. + * @member {string} [diskId] The disk id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - ipAddress?: string; + readonly diskId?: string; /** - * @member {string} [agentVersion] The agent Version. + * @member {string} [diskName] The disk name. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - agentVersion?: string; + readonly diskName?: string; /** - * @member {string} [hostName] The host name. + * @member {string} [diskPath] The disk path. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - hostName?: string; + readonly diskPath?: string; /** - * @member {Date} [lastHeartbeat] The last heartbeat received from CS server. + * @member {string} [isOSDisk] A value indicating whether the disk is the OS + * disk. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - lastHeartbeat?: Date; + readonly isOSDisk?: string; /** - * @member {string} [versionStatus] Version status + * @member {number} [capacityInBytes] The disk capacity in bytes. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - versionStatus?: string; + readonly capacityInBytes?: number; /** - * @member {Date} [sslCertExpiryDate] CS SSL cert expiry date. + * @member {string} [logStorageAccountId] The log storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - sslCertExpiryDate?: Date; + readonly logStorageAccountId?: string; /** - * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + * @member {string} [logStorageAccountSasSecretName] The key vault secret + * name of the log storage account. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - sslCertExpiryRemainingDays?: number; + readonly logStorageAccountSasSecretName?: string; /** - * @member {string} [psTemplateVersion] PS template version. + * @member {string} [seedManagedDiskId] The ARM Id of the seed managed disk. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - psTemplateVersion?: string; + readonly seedManagedDiskId?: string; /** - * @member {Date} [agentExpiryDate] Agent expiry date. + * @member {string} [targetManagedDiskId] The ARM Id of the target managed + * disk. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - agentExpiryDate?: Date; + readonly targetManagedDiskId?: string; /** - * @member {VersionDetails} [agentVersionDetails] The agent version details. + * @member {DiskType} [diskType] The disk type. Possible values include: + * 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' */ - agentVersionDetails?: VersionDetails; + diskType?: DiskType; } /** * @interface - * An interface representing VMwareV2FabricCreationInput. - * Fabric provider specific settings. + * An interface representing VMwareCbtNicDetails. + * VMwareCbt NIC details. * */ -export interface VMwareV2FabricCreationInput { +export interface VMwareCbtNicDetails { /** - * @member {string} instanceType Polymorphic Discriminator + * @member {string} [nicId] The NIC Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - instanceType: "VMwareV2"; + readonly nicId?: string; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * @member {string} [isPrimaryNic] A value indicating whether this is the + * primary NIC. */ - keyVaultUrl?: string; + isPrimaryNic?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * @member {string} [sourceIPAddress] The source IP address. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - keyVaultResourceArmId?: string; -} - -/** - * @interface - * An interface representing VMwareV2FabricSpecificDetails. - * VMwareV2 fabric Specific Details. - * - */ -export interface VMwareV2FabricSpecificDetails { + readonly sourceIPAddress?: string; /** - * @member {string} instanceType Polymorphic Discriminator + * @member {EthernetAddressType} [sourceIPAddressType] The source IP address + * type. Possible values include: 'Dynamic', 'Static' + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - instanceType: "VMwareV2"; + readonly sourceIPAddressType?: EthernetAddressType; + /** + * @member {string} [sourceNetworkId] Source network Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly sourceNetworkId?: string; /** - * @member {string} [srsServiceEndpoint] The endpoint for making requests to - * the SRS Service. + * @member {string} [targetIPAddress] The target IP address. */ - srsServiceEndpoint?: string; + targetIPAddress?: string; /** - * @member {string} [rcmServiceEndpoint] The endpoint for making requests to - * the RCM Service. + * @member {EthernetAddressType} [targetIPAddressType] The target IP address + * type. Possible values include: 'Dynamic', 'Static' */ - rcmServiceEndpoint?: string; + targetIPAddressType?: EthernetAddressType; /** - * @member {string} [keyVaultUrl] The Key Vault URL. + * @member {string} [targetSubnetName] Target subnet name. */ - keyVaultUrl?: string; + targetSubnetName?: string; /** - * @member {string} [keyVaultResourceArmId] The Key Vault ARM Id. + * @member {string} [isSelectedForMigration] A value indicating whether this + * NIC is selected for migration. */ - keyVaultResourceArmId?: string; + isSelectedForMigration?: string; } /** * @interface - * An interface representing VMwareVirtualMachineDetails. - * VMware provider specific settings + * An interface representing VMwareCbtMigrationDetails. + * VMwareCbt provider specific settings * */ -export interface VMwareVirtualMachineDetails { +export interface VMwareCbtMigrationDetails { /** * @member {string} instanceType Polymorphic Discriminator */ - instanceType: "VMwareVirtualMachine"; + instanceType: "VMwareCbt"; /** - * @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} [vmwareMachineId] The ARM Id of the VM discovered in + * VMware. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - agentGeneratedId?: string; + readonly vmwareMachineId?: string; /** - * @member {string} [agentInstalled] The value indicating if InMage scout - * agent is installed on guest. + * @member {string} [osType] The type of the OS on the VM. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - agentInstalled?: string; + readonly osType?: string; /** - * @member {string} [osType] The OsType installed on VM. + * @member {string} [licenseType] License Type of the VM to be used. */ - osType?: string; + licenseType?: string; /** - * @member {string} [agentVersion] The agent version. + * @member {string} [dataMoverRunAsAccountId] The data mover RunAs account + * Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - agentVersion?: string; + readonly dataMoverRunAsAccountId?: string; /** - * @member {string} [ipAddress] The IP address. + * @member {string} [snapshotRunAsAccountId] The snapshot RunAs account Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - ipAddress?: string; + readonly snapshotRunAsAccountId?: string; /** - * @member {string} [poweredOn] The value indicating whether VM is powered - * on. + * @member {string} [targetVmName] Target VM name. */ - poweredOn?: string; + targetVmName?: string; /** - * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. + * @member {string} [targetVmSize] The target VM size. */ - vCenterInfrastructureId?: string; + targetVmSize?: string; /** - * @member {string} [discoveryType] A value inidicating the discovery type of - * the machine. Value can be vCenter or physical. + * @member {string} [targetLocation] The target location. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** */ - discoveryType?: string; + readonly targetLocation?: string; /** - * @member {InMageDiskDetails[]} [diskDetails] The disk details. + * @member {string} [targetResourceGroupId] The target resource group Id. */ - diskDetails?: InMageDiskDetails[]; + targetResourceGroupId?: string; /** - * @member {HealthError[]} [validationErrors] The validation errors. + * @member {string} [targetAvailabilitySetId] The target availability set Id. */ - validationErrors?: HealthError[]; + targetAvailabilitySetId?: string; + /** + * @member {string} [targetBootDiagnosticsStorageAccountId] The target boot + * diagnostics storage account ARM Id. + */ + targetBootDiagnosticsStorageAccountId?: string; + /** + * @member {VMwareCbtProtectedDiskDetails[]} [protectedDisks] The list of + * protected disks. + */ + protectedDisks?: VMwareCbtProtectedDiskDetails[]; + /** + * @member {string} [targetNetworkId] The target network Id. + */ + targetNetworkId?: string; + /** + * @member {VMwareCbtNicDetails[]} [vmNics] The network details. + */ + vmNics?: VMwareCbtNicDetails[]; + /** + * @member {string} [migrationRecoveryPointId] The recovery point Id to which + * the VM was migrated. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly migrationRecoveryPointId?: string; + /** + * @member {Date} [lastRecoveryPointReceived] The last recovery point + * received time. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly lastRecoveryPointReceived?: Date; } /** * @interface - * An interface representing ReplicationEventsListOptionalParams. - * Optional Parameters. + * An interface representing VMwareCbtNicInput. + * VMwareCbt NIC input. * - * @extends RequestOptionsBase */ -export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { +export interface VMwareCbtNicInput { /** - * @member {string} [filter] OData filter options. + * @member {string} nicId The NIC Id. */ - filter?: string; + nicId: string; + /** + * @member {string} isPrimaryNic A value indicating whether this is the + * primary NIC. + */ + isPrimaryNic: string; + /** + * @member {string} [targetSubnetName] Target subnet name. + */ + targetSubnetName?: string; + /** + * @member {string} [targetStaticIPAddress] The static IP address. + */ + targetStaticIPAddress?: string; + /** + * @member {string} [isSelectedForMigration] A value indicating whether this + * NIC is selected for migration. + */ + isSelectedForMigration?: string; } /** * @interface - * An interface representing ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams. - * Optional Parameters. + * An interface representing VMwareCbtPolicyCreationInput. + * VMware Cbt policy creation input. * - * @extends RequestOptionsBase */ -export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { +export interface VMwareCbtPolicyCreationInput { /** - * @member {string} [filter] OData filter options. + * @member {string} instanceType Polymorphic Discriminator */ - filter?: string; + instanceType: "VMwareCbt"; + /** + * @member {number} [recoveryPointHistoryInMinutes] The duration in minutes + * until which the recovery points need to be stored. + */ + recoveryPointHistoryInMinutes?: number; + /** + * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent + * snapshot frequency (in minutes). + */ + crashConsistentFrequencyInMinutes?: number; + /** + * @member {number} [appConsistentFrequencyInMinutes] The app consistent + * snapshot frequency (in minutes). + */ + appConsistentFrequencyInMinutes?: number; } /** * @interface - * An interface representing ReplicationProtectedItemsListOptionalParams. - * Optional Parameters. + * An interface representing VmwareCbtPolicyDetails. + * VMware Cbt specific policy details. * - * @extends RequestOptionsBase */ -export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { +export interface VmwareCbtPolicyDetails { /** - * @member {string} [skipToken] The pagination token. Possible values: - * "FabricId" or "FabricId_CloudId" or null + * @member {string} instanceType Polymorphic Discriminator */ - skipToken?: string; + instanceType: "VMwareCbt"; /** - * @member {string} [filter] OData filter options. + * @member {number} [recoveryPointHistoryInMinutes] The duration in minutes + * until which the recovery points need to be stored. */ - filter?: string; + recoveryPointHistoryInMinutes?: number; + /** + * @member {number} [appConsistentFrequencyInMinutes] The app consistent + * snapshot frequency in minutes. + */ + appConsistentFrequencyInMinutes?: number; + /** + * @member {number} [crashConsistentFrequencyInMinutes] The crash consistent + * snapshot frequency in minutes. + */ + crashConsistentFrequencyInMinutes?: number; } /** * @interface - * An interface representing ReplicationJobsListOptionalParams. - * Optional Parameters. + * An interface representing VMwareCbtProtectionContainerMappingDetails. + * VMwareCbt provider specific container mapping details. * - * @extends RequestOptionsBase */ -export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { +export interface VMwareCbtProtectionContainerMappingDetails { /** - * @member {string} [filter] OData filter options. + * @member {string} instanceType Polymorphic Discriminator */ - filter?: string; + instanceType: "VMwareCbt"; + /** + * @member {string} [keyVaultId] The target key vault ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly keyVaultId?: string; + /** + * @member {string} [keyVaultUri] The target key vault URI. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly keyVaultUri?: string; + /** + * @member {string} [storageAccountId] The storage account ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly storageAccountId?: string; + /** + * @member {string} [storageAccountSasSecretName] The secret name of the + * storage account. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly storageAccountSasSecretName?: string; + /** + * @member {string} [serviceBusConnectionStringSecretName] The secret name of + * the service bus connection string. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly serviceBusConnectionStringSecretName?: string; + /** + * @member {string} [targetLocation] The target location. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly targetLocation?: string; } /** * @interface - * An interface representing SiteRecoveryManagementClientOptions. - * @extends AzureServiceClientOptions + * An interface representing VMwareCbtTestMigrateInput. + * VMwareCbt specific test migrate input. + * */ -export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { +export interface VMwareCbtTestMigrateInput { /** - * @member {string} [baseUri] + * @member {string} instanceType Polymorphic Discriminator */ - baseUri?: string; + instanceType: "VMwareCbt"; + /** + * @member {string} recoveryPointId The recovery point Id. + */ + recoveryPointId: string; + /** + * @member {string} networkId The test network Id. + */ + networkId: string; } - /** * @interface - * An interface representing the OperationsDiscoveryCollection. - * Collection of ClientDiscovery details. + * An interface representing VMwareCbtUpdateMigrationItemInput. + * VMwareCbt specific update migration item input. * - * @extends Array */ -export interface OperationsDiscoveryCollection extends Array { +export interface VMwareCbtUpdateMigrationItemInput { /** - * @member {string} [nextLink] The value of next link. + * @member {string} instanceType Polymorphic Discriminator */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the AlertCollection. - * Collection of alerts. - * - * @extends Array - */ -export interface AlertCollection extends Array { + instanceType: "VMwareCbt"; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [targetVmName] The target VM name. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the EventCollection. - * Collection of fabric details. - * - * @extends Array - */ -export interface EventCollection extends Array { + targetVmName?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [targetVmSize] The target VM size. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the FabricCollection. - * Collection of fabric details. - * - * @extends Array - */ -export interface FabricCollection extends Array { + targetVmSize?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [targetResourceGroupId] The target resource group ARM Id. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the LogicalNetworkCollection. - * List of logical networks. - * - * @extends Array - */ -export interface LogicalNetworkCollection extends Array { + targetResourceGroupId?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [targetAvailabilitySetId] The target availability set ARM + * Id. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the NetworkCollection. - * List of networks. - * - * @extends Array - */ -export interface NetworkCollection extends Array { + targetAvailabilitySetId?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [targetBootDiagnosticsStorageAccountId] The target boot + * diagnostics storage account ARM Id. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the NetworkMappingCollection. - * List of network mappings. As with NetworkMapping, it should be possible to - * reuse a prev version of this class. It doesn't seem likely this class could - * be anything more than a slightly bespoke collection of NetworkMapping. Hence - * it makes sense to override Load with Base.NetworkMapping instead of existing - * CurrentVersion.NetworkMapping. - * - * @extends Array - */ -export interface NetworkMappingCollection extends Array { + targetBootDiagnosticsStorageAccountId?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [targetNetworkId] The target network ARM Id. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the ProtectionContainerCollection. - * Protection Container collection. - * - * @extends Array - */ -export interface ProtectionContainerCollection extends Array { + targetNetworkId?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {VMwareCbtNicInput[]} [vmNics] The list of NIC details. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the ProtectableItemCollection. - * Protectable item collection. - * - * @extends Array - */ -export interface ProtectableItemCollection extends Array { + vmNics?: VMwareCbtNicInput[]; /** - * @member {string} [nextLink] The value of next link. + * @member {LicenseType} [licenseType] The license type. Possible values + * include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' */ - nextLink?: string; + licenseType?: LicenseType; } /** * @interface - * An interface representing the ReplicationProtectedItemCollection. - * Replication protected item collection. + * An interface representing VMwareDetails. + * Store the fabric details specific to the VMware fabric. * - * @extends Array */ -export interface ReplicationProtectedItemCollection extends Array { +export interface VMwareDetails { /** - * @member {string} [nextLink] The value of next link. + * @member {string} instanceType Polymorphic Discriminator */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the RecoveryPointCollection. - * Collection of recovery point details. - * - * @extends Array - */ -export interface RecoveryPointCollection extends Array { + instanceType: "VMware"; /** - * @member {string} [nextLink] The value of next link. + * @member {ProcessServer[]} [processServers] The list of Process Servers + * associated with the fabric. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the TargetComputeSizeCollection. - * Target compute size collection. - * - * @extends Array - */ -export interface TargetComputeSizeCollection extends Array { + processServers?: ProcessServer[]; /** - * @member {string} [nextLink] The value of next link. + * @member {MasterTargetServer[]} [masterTargetServers] The list of Master + * Target servers associated with the fabric. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the ProtectionContainerMappingCollection. - * Protection container mapping collection class. - * - * @extends Array - */ -export interface ProtectionContainerMappingCollection extends Array { + masterTargetServers?: MasterTargetServer[]; /** - * @member {string} [nextLink] Link to fetch rest of the data. + * @member {RunAsAccount[]} [runAsAccounts] The list of run as accounts + * created on the server. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the RecoveryServicesProviderCollection. - * Collection of providers. - * - * @extends Array - */ -export interface RecoveryServicesProviderCollection extends Array { + runAsAccounts?: RunAsAccount[]; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [replicationPairCount] The number of replication pairs + * configured in this CS. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the StorageClassificationCollection. - * Collection of storage details. - * - * @extends Array - */ -export interface StorageClassificationCollection extends Array { + replicationPairCount?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [processServerCount] The number of process servers. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the StorageClassificationMappingCollection. - * Collection of storage mapping details. - * - * @extends Array - */ -export interface StorageClassificationMappingCollection extends Array { + processServerCount?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [agentCount] The number of source and target servers + * configured to talk to this CS. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the VCenterCollection. - * Collection of vCenter details. - * - * @extends Array - */ -export interface VCenterCollection extends Array { + agentCount?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [protectedServers] The number of protected servers. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the JobCollection. - * Collection of jobs. - * - * @extends Array - */ -export interface JobCollection extends Array { + protectedServers?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [systemLoad] The percentage of the system load. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the PolicyCollection. - * Protection Profile Collection details. - * - * @extends Array - */ -export interface PolicyCollection extends Array { + systemLoad?: string; /** - * @member {string} [nextLink] The value of next link. + * @member {string} [systemLoadStatus] The system load status. */ - nextLink?: string; -} - -/** - * @interface - * An interface representing the RecoveryPlanCollection. - * Recovery plan collection details. - * + systemLoadStatus?: string; + /** + * @member {string} [cpuLoad] The percentage of the CPU load. + */ + cpuLoad?: string; + /** + * @member {string} [cpuLoadStatus] The CPU load status. + */ + cpuLoadStatus?: string; + /** + * @member {number} [totalMemoryInBytes] The total memory. + */ + totalMemoryInBytes?: number; + /** + * @member {number} [availableMemoryInBytes] The available memory. + */ + availableMemoryInBytes?: number; + /** + * @member {string} [memoryUsageStatus] The memory usage status. + */ + memoryUsageStatus?: string; + /** + * @member {number} [totalSpaceInBytes] The total space. + */ + totalSpaceInBytes?: number; + /** + * @member {number} [availableSpaceInBytes] The available space. + */ + availableSpaceInBytes?: number; + /** + * @member {string} [spaceUsageStatus] The space usage status. + */ + spaceUsageStatus?: string; + /** + * @member {string} [webLoad] The web load. + */ + webLoad?: string; + /** + * @member {string} [webLoadStatus] The web load status. + */ + webLoadStatus?: string; + /** + * @member {string} [databaseServerLoad] The database server load. + */ + databaseServerLoad?: string; + /** + * @member {string} [databaseServerLoadStatus] The database server load + * status. + */ + databaseServerLoadStatus?: string; + /** + * @member {string} [csServiceStatus] The CS service status. + */ + csServiceStatus?: string; + /** + * @member {string} [ipAddress] The IP address. + */ + ipAddress?: string; + /** + * @member {string} [agentVersion] The agent Version. + */ + agentVersion?: string; + /** + * @member {string} [hostName] The host name. + */ + hostName?: string; + /** + * @member {Date} [lastHeartbeat] The last heartbeat received from CS server. + */ + lastHeartbeat?: Date; + /** + * @member {string} [versionStatus] Version status + */ + versionStatus?: string; + /** + * @member {Date} [sslCertExpiryDate] CS SSL cert expiry date. + */ + sslCertExpiryDate?: Date; + /** + * @member {number} [sslCertExpiryRemainingDays] CS SSL cert expiry date. + */ + sslCertExpiryRemainingDays?: number; + /** + * @member {string} [psTemplateVersion] PS template version. + */ + psTemplateVersion?: string; + /** + * @member {Date} [agentExpiryDate] Agent expiry date. + */ + agentExpiryDate?: Date; + /** + * @member {VersionDetails} [agentVersionDetails] The agent version details. + */ + agentVersionDetails?: VersionDetails; +} + +/** + * @interface + * An interface representing VMwareV2FabricCreationInput. + * VMwareV2 fabric provider specific settings. + * + */ +export interface VMwareV2FabricCreationInput { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "VMwareV2"; + /** + * @member {string} vmwareSiteId The ARM Id of the VMware site. + */ + vmwareSiteId: string; + /** + * @member {string} migrationSolutionId The ARM Id of the migration solution. + */ + migrationSolutionId: string; +} + +/** + * @interface + * An interface representing VMwareV2FabricSpecificDetails. + * VMwareV2 fabric specific details. + * + */ +export interface VMwareV2FabricSpecificDetails { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "VMwareV2"; + /** + * @member {string} [vmwareSiteId] The ARM Id of the VMware site. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly vmwareSiteId?: string; + /** + * @member {string} [migrationSolutionId] The Migration solution ARM Id. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly migrationSolutionId?: string; + /** + * @member {string} [serviceEndpoint] The service endpoint. + * **NOTE: This property will not be serialized. It can only be populated by + * the server.** + */ + readonly serviceEndpoint?: string; +} + +/** + * @interface + * An interface representing VMwareVirtualMachineDetails. + * VMware provider specific settings + * + */ +export interface VMwareVirtualMachineDetails { + /** + * @member {string} instanceType Polymorphic Discriminator + */ + instanceType: "VMwareVirtualMachine"; + /** + * @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. + */ + agentGeneratedId?: string; + /** + * @member {string} [agentInstalled] The value indicating if InMage scout + * agent is installed on guest. + */ + agentInstalled?: string; + /** + * @member {string} [osType] The OsType installed on VM. + */ + osType?: string; + /** + * @member {string} [agentVersion] The agent version. + */ + agentVersion?: string; + /** + * @member {string} [ipAddress] The IP address. + */ + ipAddress?: string; + /** + * @member {string} [poweredOn] The value indicating whether VM is powered + * on. + */ + poweredOn?: string; + /** + * @member {string} [vCenterInfrastructureId] The VCenter infrastructure Id. + */ + vCenterInfrastructureId?: string; + /** + * @member {string} [discoveryType] A value indicating the discovery type of + * the machine. Value can be vCenter or physical. + */ + discoveryType?: string; + /** + * @member {InMageDiskDetails[]} [diskDetails] The disk details. + */ + diskDetails?: InMageDiskDetails[]; + /** + * @member {HealthError[]} [validationErrors] The validation errors. + */ + validationErrors?: HealthError[]; +} + +/** + * @interface + * An interface representing ReplicationEventsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface ReplicationEventsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [filter] OData filter options. + */ + filter?: string; +} + +/** + * @interface + * An interface representing ReplicationMigrationItemsDeleteMethodOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface ReplicationMigrationItemsDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [deleteOption] The delete option. + */ + deleteOption?: string; +} + +/** + * @interface + * An interface representing ReplicationMigrationItemsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface ReplicationMigrationItemsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skipToken] The pagination token. + */ + skipToken?: string; + /** + * @member {string} [filter] OData filter options. + */ + filter?: string; +} + +/** + * @interface + * An interface representing ReplicationMigrationItemsBeginDeleteMethodOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface ReplicationMigrationItemsBeginDeleteMethodOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [deleteOption] The delete option. + */ + deleteOption?: string; +} + +/** + * @interface + * An interface representing ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface ReplicationProtectableItemsListByReplicationProtectionContainersOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [filter] OData filter options. + */ + filter?: string; +} + +/** + * @interface + * An interface representing ReplicationProtectedItemsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface ReplicationProtectedItemsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [skipToken] The pagination token. Possible values: + * "FabricId" or "FabricId_CloudId" or null + */ + skipToken?: string; + /** + * @member {string} [filter] OData filter options. + */ + filter?: string; +} + +/** + * @interface + * An interface representing ReplicationJobsListOptionalParams. + * Optional Parameters. + * + * @extends RequestOptionsBase + */ +export interface ReplicationJobsListOptionalParams extends msRest.RequestOptionsBase { + /** + * @member {string} [filter] OData filter options. + */ + filter?: string; +} + +/** + * @interface + * An interface representing SiteRecoveryManagementClientOptions. + * @extends AzureServiceClientOptions + */ +export interface SiteRecoveryManagementClientOptions extends AzureServiceClientOptions { + /** + * @member {string} [baseUri] + */ + baseUri?: string; +} + + +/** + * @interface + * An interface representing the OperationsDiscoveryCollection. + * Collection of ClientDiscovery details. + * + * @extends Array + */ +export interface OperationsDiscoveryCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the AlertCollection. + * Collection of alerts. + * + * @extends Array + */ +export interface AlertCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the EventCollection. + * Collection of fabric details. + * + * @extends Array + */ +export interface EventCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the FabricCollection. + * Collection of fabric details. + * + * @extends Array + */ +export interface FabricCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the LogicalNetworkCollection. + * List of logical networks. + * + * @extends Array + */ +export interface LogicalNetworkCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the NetworkCollection. + * List of networks. + * + * @extends Array + */ +export interface NetworkCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the NetworkMappingCollection. + * List of network mappings. As with NetworkMapping, it should be possible to + * reuse a prev version of this class. It doesn't seem likely this class could + * be anything more than a slightly bespoke collection of NetworkMapping. Hence + * it makes sense to override Load with Base.NetworkMapping instead of existing + * CurrentVersion.NetworkMapping. + * + * @extends Array + */ +export interface NetworkMappingCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the ProtectionContainerCollection. + * Protection Container collection. + * + * @extends Array + */ +export interface ProtectionContainerCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the MigrationItemCollection. + * Migration item collection. + * + * @extends Array + */ +export interface MigrationItemCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the MigrationRecoveryPointCollection. + * Collection of migration recovery points. + * + * @extends Array + */ +export interface MigrationRecoveryPointCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the ProtectableItemCollection. + * Protectable item collection. + * + * @extends Array + */ +export interface ProtectableItemCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the ReplicationProtectedItemCollection. + * Replication protected item collection. + * + * @extends Array + */ +export interface ReplicationProtectedItemCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the RecoveryPointCollection. + * Collection of recovery point details. + * + * @extends Array + */ +export interface RecoveryPointCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the TargetComputeSizeCollection. + * Target compute size collection. + * + * @extends Array + */ +export interface TargetComputeSizeCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the ProtectionContainerMappingCollection. + * Protection container mapping collection class. + * + * @extends Array + */ +export interface ProtectionContainerMappingCollection extends Array { + /** + * @member {string} [nextLink] Link to fetch rest of the data. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the RecoveryServicesProviderCollection. + * Collection of providers. + * + * @extends Array + */ +export interface RecoveryServicesProviderCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the StorageClassificationCollection. + * Collection of storage details. + * + * @extends Array + */ +export interface StorageClassificationCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the StorageClassificationMappingCollection. + * Collection of storage mapping details. + * + * @extends Array + */ +export interface StorageClassificationMappingCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the VCenterCollection. + * Collection of vCenter details. + * + * @extends Array + */ +export interface VCenterCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the JobCollection. + * Collection of jobs. + * + * @extends Array + */ +export interface JobCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the PolicyCollection. + * Protection Profile Collection details. + * + * @extends Array + */ +export interface PolicyCollection extends Array { + /** + * @member {string} [nextLink] The value of next link. + */ + nextLink?: string; +} + +/** + * @interface + * An interface representing the RecoveryPlanCollection. + * Recovery plan collection details. + * * @extends Array */ export interface RecoveryPlanCollection extends Array { @@ -9553,152 +10997,554 @@ export type PossibleOperationsDirections = 'PrimaryToRecovery' | 'RecoveryToPrim * @readonly * @enum {string} */ -export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; +export type DisableProtectionReason = 'NotSpecified' | 'MigrationComplete'; + +/** + * Defines values for HealthErrorCustomerResolvability. + * Possible values include: 'Allowed', 'NotAllowed' + * @readonly + * @enum {string} + */ +export type HealthErrorCustomerResolvability = 'Allowed' | 'NotAllowed'; + +/** + * Defines values for HealthErrorCategory. + * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', + * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' + * @readonly + * @enum {string} + */ +export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; + +/** + * Defines values for Severity. + * Possible values include: 'NONE', 'Warning', 'Error', 'Info' + * @readonly + * @enum {string} + */ +export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; + +/** + * Defines values for PresenceStatus. + * Possible values include: 'Unknown', 'Present', 'NotPresent' + * @readonly + * @enum {string} + */ +export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; + +/** + * Defines values for AgentVersionStatus. + * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', + * 'SecurityUpdateRequired' + * @readonly + * @enum {string} + */ +export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; + +/** + * Defines values for DiskAccountType. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskAccountType = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS'; + +/** + * Defines values for RecoveryPointType. + * Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * @readonly + * @enum {string} + */ +export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * Defines values for MigrationState. + * Possible values include: 'None', 'EnableMigrationInProgress', 'EnableMigrationFailed', + * 'DisableMigrationInProgress', 'DisableMigrationFailed', 'InitialSeedingInProgress', + * 'InitialSeedingFailed', 'Replicating', 'MigrationInProgress', 'MigrationSucceeded', + * 'MigrationFailed' + * @readonly + * @enum {string} + */ +export type MigrationState = 'None' | 'EnableMigrationInProgress' | 'EnableMigrationFailed' | 'DisableMigrationInProgress' | 'DisableMigrationFailed' | 'InitialSeedingInProgress' | 'InitialSeedingFailed' | 'Replicating' | 'MigrationInProgress' | 'MigrationSucceeded' | 'MigrationFailed'; + +/** + * Defines values for TestMigrationState. + * Possible values include: 'None', 'TestMigrationInProgress', 'TestMigrationSucceeded', + * 'TestMigrationFailed', 'TestMigrationCleanupInProgress' + * @readonly + * @enum {string} + */ +export type TestMigrationState = 'None' | 'TestMigrationInProgress' | 'TestMigrationSucceeded' | 'TestMigrationFailed' | 'TestMigrationCleanupInProgress'; + +/** + * Defines values for MigrationItemOperation. + * Possible values include: 'DisableMigration', 'TestMigrate', 'TestMigrateCleanup', 'Migrate' + * @readonly + * @enum {string} + */ +export type MigrationItemOperation = 'DisableMigration' | 'TestMigrate' | 'TestMigrateCleanup' | 'Migrate'; + +/** + * Defines values for MigrationRecoveryPointType. + * Possible values include: 'NotSpecified', 'ApplicationConsistent', 'CrashConsistent' + * @readonly + * @enum {string} + */ +export type MigrationRecoveryPointType = 'NotSpecified' | 'ApplicationConsistent' | 'CrashConsistent'; + +/** + * Defines values for MultiVmSyncStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for A2ARpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for MultiVmSyncPointOption. + * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' + * @readonly + * @enum {string} + */ +export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; + +/** + * Defines values for RecoveryPlanActionLocation. + * Possible values include: 'Primary', 'Recovery' + * @readonly + * @enum {string} + */ +export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; + +/** + * Defines values for DataSyncStatus. + * Possible values include: 'ForDownTime', 'ForSynchronization' + * @readonly + * @enum {string} + */ +export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; + +/** + * Defines values for AlternateLocationRecoveryOption. + * Possible values include: 'CreateVmIfNotFound', 'NoAction' + * @readonly + * @enum {string} + */ +export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; + +/** + * Defines values for HyperVReplicaAzureRpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; + +/** + * Defines values for InMageV2RpRecoveryPointType. + * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', + * 'LatestProcessed' + * @readonly + * @enum {string} + */ +export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; + +/** + * Defines values for RpInMageRecoveryPointType. + * Possible values include: 'LatestTime', 'LatestTag', 'Custom' + * @readonly + * @enum {string} + */ +export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; + +/** + * Defines values for SourceSiteOperations. + * Possible values include: 'Required', 'NotRequired' + * @readonly + * @enum {string} + */ +export type SourceSiteOperations = 'Required' | 'NotRequired'; + +/** + * Defines values for LicenseType. + * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' + * @readonly + * @enum {string} + */ +export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; + +/** + * Defines values for DiskType. + * Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS' + * @readonly + * @enum {string} + */ +export type DiskType = 'Standard_LRS' | 'Premium_LRS' | 'StandardSSD_LRS'; + +/** + * Defines values for EthernetAddressType. + * Possible values include: 'Dynamic', 'Static' + * @readonly + * @enum {string} + */ +export type EthernetAddressType = 'Dynamic' | 'Static'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationsDiscoveryCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationsDiscoveryCollection; + }; +}; /** - * Defines values for HealthErrorCategory. - * Possible values include: 'None', 'Replication', 'TestFailover', 'Configuration', - * 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type HealthErrorCategory = 'None' | 'Replication' | 'TestFailover' | 'Configuration' | 'FabricInfrastructure' | 'VersionExpiry' | 'AgentAutoUpdate'; +export type OperationsListNextResponse = OperationsDiscoveryCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationsDiscoveryCollection; + }; +}; /** - * Defines values for Severity. - * Possible values include: 'NONE', 'Warning', 'Error', 'Info' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type Severity = 'NONE' | 'Warning' | 'Error' | 'Info'; +export type ReplicationAlertSettingsListResponse = AlertCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AlertCollection; + }; +}; /** - * Defines values for PresenceStatus. - * Possible values include: 'Unknown', 'Present', 'NotPresent' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type PresenceStatus = 'Unknown' | 'Present' | 'NotPresent'; +export type ReplicationAlertSettingsGetResponse = Alert & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Alert; + }; +}; /** - * Defines values for IdentityProviderType. - * Possible values include: 'RecoveryServicesActiveDirectory' - * @readonly - * @enum {string} + * Contains response data for the create operation. */ -export type IdentityProviderType = 'RecoveryServicesActiveDirectory'; +export type ReplicationAlertSettingsCreateResponse = Alert & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Alert; + }; +}; /** - * Defines values for AgentVersionStatus. - * Possible values include: 'Supported', 'NotSupported', 'Deprecated', 'UpdateRequired', - * 'SecurityUpdateRequired' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type AgentVersionStatus = 'Supported' | 'NotSupported' | 'Deprecated' | 'UpdateRequired' | 'SecurityUpdateRequired'; +export type ReplicationAlertSettingsListNextResponse = AlertCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AlertCollection; + }; +}; /** - * Defines values for RecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type RecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +export type ReplicationEventsListResponse = EventCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EventCollection; + }; +}; /** - * Defines values for MultiVmSyncStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type MultiVmSyncStatus = 'Enabled' | 'Disabled'; +export type ReplicationEventsGetResponse = Event & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Event; + }; +}; /** - * Defines values for A2ARpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type A2ARpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +export type ReplicationEventsListNextResponse = EventCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: EventCollection; + }; +}; /** - * Defines values for MultiVmSyncPointOption. - * Possible values include: 'UseMultiVmSyncRecoveryPoint', 'UsePerVmRecoveryPoint' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type MultiVmSyncPointOption = 'UseMultiVmSyncRecoveryPoint' | 'UsePerVmRecoveryPoint'; +export type ReplicationFabricsListResponse = FabricCollection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: FabricCollection; + }; +}; /** - * Defines values for RecoveryPlanActionLocation. - * Possible values include: 'Primary', 'Recovery' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type RecoveryPlanActionLocation = 'Primary' | 'Recovery'; +export type ReplicationFabricsGetResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for DataSyncStatus. - * Possible values include: 'ForDownTime', 'ForSynchronization' - * @readonly - * @enum {string} + * Contains response data for the create operation. */ -export type DataSyncStatus = 'ForDownTime' | 'ForSynchronization'; +export type ReplicationFabricsCreateResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for AlternateLocationRecoveryOption. - * Possible values include: 'CreateVmIfNotFound', 'NoAction' - * @readonly - * @enum {string} + * Contains response data for the checkConsistency operation. */ -export type AlternateLocationRecoveryOption = 'CreateVmIfNotFound' | 'NoAction'; +export type ReplicationFabricsCheckConsistencyResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for HyperVReplicaAzureRpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestProcessed' - * @readonly - * @enum {string} + * Contains response data for the reassociateGateway operation. */ -export type HyperVReplicaAzureRpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestProcessed'; +export type ReplicationFabricsReassociateGatewayResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for InMageV2RpRecoveryPointType. - * Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', - * 'LatestProcessed' - * @readonly - * @enum {string} + * Contains response data for the renewCertificate operation. */ -export type InMageV2RpRecoveryPointType = 'Latest' | 'LatestApplicationConsistent' | 'LatestCrashConsistent' | 'LatestProcessed'; +export type ReplicationFabricsRenewCertificateResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for RpInMageRecoveryPointType. - * Possible values include: 'LatestTime', 'LatestTag', 'Custom' - * @readonly - * @enum {string} + * Contains response data for the beginCreate operation. */ -export type RpInMageRecoveryPointType = 'LatestTime' | 'LatestTag' | 'Custom'; +export type ReplicationFabricsBeginCreateResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for SourceSiteOperations. - * Possible values include: 'Required', 'NotRequired' - * @readonly - * @enum {string} + * Contains response data for the beginCheckConsistency operation. */ -export type SourceSiteOperations = 'Required' | 'NotRequired'; +export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Defines values for LicenseType. - * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer' - * @readonly - * @enum {string} + * Contains response data for the beginReassociateGateway operation. */ -export type LicenseType = 'NotSpecified' | 'NoLicenseType' | 'WindowsServer'; +export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Fabric; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the beginRenewCertificate operation. */ -export type OperationsListResponse = OperationsDiscoveryCollection & { +export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { /** * The underlying HTTP response. */ @@ -9710,14 +11556,14 @@ export type OperationsListResponse = OperationsDiscoveryCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationsDiscoveryCollection; + parsedBody: Fabric; }; }; /** * Contains response data for the listNext operation. */ -export type OperationsListNextResponse = OperationsDiscoveryCollection & { +export type ReplicationFabricsListNextResponse = FabricCollection & { /** * The underlying HTTP response. */ @@ -9729,14 +11575,14 @@ export type OperationsListNextResponse = OperationsDiscoveryCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationsDiscoveryCollection; + parsedBody: FabricCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByReplicationFabrics operation. */ -export type ReplicationAlertSettingsListResponse = AlertCollection & { +export type ReplicationLogicalNetworksListByReplicationFabricsResponse = LogicalNetworkCollection & { /** * The underlying HTTP response. */ @@ -9748,14 +11594,14 @@ export type ReplicationAlertSettingsListResponse = AlertCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertCollection; + parsedBody: LogicalNetworkCollection; }; }; /** * Contains response data for the get operation. */ -export type ReplicationAlertSettingsGetResponse = Alert & { +export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { /** * The underlying HTTP response. */ @@ -9767,14 +11613,14 @@ export type ReplicationAlertSettingsGetResponse = Alert & { /** * The response body as parsed JSON or XML */ - parsedBody: Alert; + parsedBody: LogicalNetwork; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationFabricsNext operation. */ -export type ReplicationAlertSettingsCreateResponse = Alert & { +export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = LogicalNetworkCollection & { /** * The underlying HTTP response. */ @@ -9786,14 +11632,14 @@ export type ReplicationAlertSettingsCreateResponse = Alert & { /** * The response body as parsed JSON or XML */ - parsedBody: Alert; + parsedBody: LogicalNetworkCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByReplicationFabrics operation. */ -export type ReplicationAlertSettingsListNextResponse = AlertCollection & { +export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9805,14 +11651,14 @@ export type ReplicationAlertSettingsListNextResponse = AlertCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertCollection; + parsedBody: NetworkCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type ReplicationEventsListResponse = EventCollection & { +export type ReplicationNetworksGetResponse = Network & { /** * The underlying HTTP response. */ @@ -9824,14 +11670,14 @@ export type ReplicationEventsListResponse = EventCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: EventCollection; + parsedBody: Network; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type ReplicationEventsGetResponse = Event & { +export type ReplicationNetworksListResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9843,14 +11689,14 @@ export type ReplicationEventsGetResponse = Event & { /** * The response body as parsed JSON or XML */ - parsedBody: Event; + parsedBody: NetworkCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByReplicationFabricsNext operation. */ -export type ReplicationEventsListNextResponse = EventCollection & { +export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9862,14 +11708,14 @@ export type ReplicationEventsListNextResponse = EventCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: EventCollection; + parsedBody: NetworkCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type ReplicationFabricsListResponse = FabricCollection & { +export type ReplicationNetworksListNextResponse = NetworkCollection & { /** * The underlying HTTP response. */ @@ -9881,14 +11727,14 @@ export type ReplicationFabricsListResponse = FabricCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: FabricCollection; + parsedBody: NetworkCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByReplicationNetworks operation. */ -export type ReplicationFabricsGetResponse = Fabric & { +export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9900,14 +11746,14 @@ export type ReplicationFabricsGetResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMappingCollection; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type ReplicationFabricsCreateResponse = Fabric & { +export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9919,14 +11765,14 @@ export type ReplicationFabricsCreateResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMapping; }; }; /** - * Contains response data for the checkConsistency operation. + * Contains response data for the create operation. */ -export type ReplicationFabricsCheckConsistencyResponse = Fabric & { +export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9938,14 +11784,14 @@ export type ReplicationFabricsCheckConsistencyResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMapping; }; }; /** - * Contains response data for the reassociateGateway operation. + * Contains response data for the update operation. */ -export type ReplicationFabricsReassociateGatewayResponse = Fabric & { +export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9957,14 +11803,14 @@ export type ReplicationFabricsReassociateGatewayResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMapping; }; }; /** - * Contains response data for the renewCertificate operation. + * Contains response data for the list operation. */ -export type ReplicationFabricsRenewCertificateResponse = Fabric & { +export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -9976,14 +11822,14 @@ export type ReplicationFabricsRenewCertificateResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMappingCollection; }; }; /** * Contains response data for the beginCreate operation. */ -export type ReplicationFabricsBeginCreateResponse = Fabric & { +export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -9995,14 +11841,14 @@ export type ReplicationFabricsBeginCreateResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMapping; }; }; /** - * Contains response data for the beginCheckConsistency operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { +export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { /** * The underlying HTTP response. */ @@ -10014,14 +11860,14 @@ export type ReplicationFabricsBeginCheckConsistencyResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMapping; }; }; /** - * Contains response data for the beginReassociateGateway operation. + * Contains response data for the listByReplicationNetworksNext operation. */ -export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { +export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -10033,14 +11879,14 @@ export type ReplicationFabricsBeginReassociateGatewayResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMappingCollection; }; }; /** - * Contains response data for the beginRenewCertificate operation. + * Contains response data for the listNext operation. */ -export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { +export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { /** * The underlying HTTP response. */ @@ -10052,14 +11898,14 @@ export type ReplicationFabricsBeginRenewCertificateResponse = Fabric & { /** * The response body as parsed JSON or XML */ - parsedBody: Fabric; + parsedBody: NetworkMappingCollection; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByReplicationFabrics operation. */ -export type ReplicationFabricsListNextResponse = FabricCollection & { +export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10071,14 +11917,14 @@ export type ReplicationFabricsListNextResponse = FabricCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: FabricCollection; + parsedBody: ProtectionContainerCollection; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the get operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsResponse = LogicalNetworkCollection & { +export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10090,14 +11936,14 @@ export type ReplicationLogicalNetworksListByReplicationFabricsResponse = Logical /** * The response body as parsed JSON or XML */ - parsedBody: LogicalNetworkCollection; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the get operation. + * Contains response data for the create operation. */ -export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { +export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10109,14 +11955,14 @@ export type ReplicationLogicalNetworksGetResponse = LogicalNetwork & { /** * The response body as parsed JSON or XML */ - parsedBody: LogicalNetwork; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the listByReplicationFabricsNext operation. + * Contains response data for the discoverProtectableItem operation. */ -export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = LogicalNetworkCollection & { +export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10128,14 +11974,14 @@ export type ReplicationLogicalNetworksListByReplicationFabricsNextResponse = Log /** * The response body as parsed JSON or XML */ - parsedBody: LogicalNetworkCollection; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the switchProtection operation. */ -export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollection & { +export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10147,14 +11993,14 @@ export type ReplicationNetworksListByReplicationFabricsResponse = NetworkCollect /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type ReplicationNetworksGetResponse = Network & { +export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10166,14 +12012,14 @@ export type ReplicationNetworksGetResponse = Network & { /** * The response body as parsed JSON or XML */ - parsedBody: Network; + parsedBody: ProtectionContainerCollection; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationNetworksListResponse = NetworkCollection & { +export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10185,14 +12031,14 @@ export type ReplicationNetworksListResponse = NetworkCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the listByReplicationFabricsNext operation. + * Contains response data for the beginDiscoverProtectableItem operation. */ -export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCollection & { +export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10204,14 +12050,14 @@ export type ReplicationNetworksListByReplicationFabricsNextResponse = NetworkCol /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginSwitchProtection operation. */ -export type ReplicationNetworksListNextResponse = NetworkCollection & { +export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { /** * The underlying HTTP response. */ @@ -10223,14 +12069,14 @@ export type ReplicationNetworksListNextResponse = NetworkCollection & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkCollection; + parsedBody: ProtectionContainer; }; }; /** - * Contains response data for the listByReplicationNetworks operation. + * Contains response data for the listByReplicationFabricsNext operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksResponse = NetworkMappingCollection & { +export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10242,14 +12088,14 @@ export type ReplicationNetworkMappingsListByReplicationNetworksResponse = Networ /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: ProtectionContainerCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { +export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { /** * The underlying HTTP response. */ @@ -10261,14 +12107,14 @@ export type ReplicationNetworkMappingsGetResponse = NetworkMapping & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: ProtectionContainerCollection; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByReplicationProtectionContainers operation. */ -export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10280,14 +12126,14 @@ export type ReplicationNetworkMappingsCreateResponse = NetworkMapping & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsGetResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10299,14 +12145,14 @@ export type ReplicationNetworkMappingsUpdateResponse = NetworkMapping & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10318,14 +12164,14 @@ export type ReplicationNetworkMappingsListResponse = NetworkMappingCollection & /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the update operation. */ -export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { +export type ReplicationMigrationItemsUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10337,14 +12183,14 @@ export type ReplicationNetworkMappingsBeginCreateResponse = NetworkMapping & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the migrate operation. */ -export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { +export type ReplicationMigrationItemsMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10356,14 +12202,14 @@ export type ReplicationNetworkMappingsBeginUpdateResponse = NetworkMapping & { /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMapping; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listByReplicationNetworksNext operation. + * Contains response data for the testMigrate operation. */ -export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10375,14 +12221,14 @@ export type ReplicationNetworkMappingsListByReplicationNetworksNextResponse = Ne /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the testMigrateCleanup operation. */ -export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollection & { +export type ReplicationMigrationItemsTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10394,14 +12240,14 @@ export type ReplicationNetworkMappingsListNextResponse = NetworkMappingCollectio /** * The response body as parsed JSON or XML */ - parsedBody: NetworkMappingCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the listByReplicationFabrics operation. + * Contains response data for the list operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsResponse = ProtectionContainerCollection & { +export type ReplicationMigrationItemsListResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10413,14 +12259,14 @@ export type ReplicationProtectionContainersListByReplicationFabricsResponse = Pr /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the get operation. + * Contains response data for the beginCreate operation. */ -export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { +export type ReplicationMigrationItemsBeginCreateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10432,14 +12278,14 @@ export type ReplicationProtectionContainersGetResponse = ProtectionContainer & { /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the create operation. + * Contains response data for the beginUpdate operation. */ -export type ReplicationProtectionContainersCreateResponse = ProtectionContainer & { +export type ReplicationMigrationItemsBeginUpdateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10451,14 +12297,14 @@ export type ReplicationProtectionContainersCreateResponse = ProtectionContainer /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the discoverProtectableItem operation. + * Contains response data for the beginMigrate operation. */ -export type ReplicationProtectionContainersDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationMigrationItemsBeginMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10470,14 +12316,14 @@ export type ReplicationProtectionContainersDiscoverProtectableItemResponse = Pro /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the switchProtection operation. + * Contains response data for the beginTestMigrate operation. */ -export type ReplicationProtectionContainersSwitchProtectionResponse = ProtectionContainer & { +export type ReplicationMigrationItemsBeginTestMigrateResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10489,14 +12335,14 @@ export type ReplicationProtectionContainersSwitchProtectionResponse = Protection /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginTestMigrateCleanup operation. */ -export type ReplicationProtectionContainersListResponse = ProtectionContainerCollection & { +export type ReplicationMigrationItemsBeginTestMigrateCleanupResponse = MigrationItem & { /** * The underlying HTTP response. */ @@ -10508,14 +12354,14 @@ export type ReplicationProtectionContainersListResponse = ProtectionContainerCol /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: MigrationItem; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the listByReplicationProtectionContainersNext operation. */ -export type ReplicationProtectionContainersBeginCreateResponse = ProtectionContainer & { +export type ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10527,14 +12373,14 @@ export type ReplicationProtectionContainersBeginCreateResponse = ProtectionConta /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the beginDiscoverProtectableItem operation. + * Contains response data for the listNext operation. */ -export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse = ProtectionContainer & { +export type ReplicationMigrationItemsListNextResponse = MigrationItemCollection & { /** * The underlying HTTP response. */ @@ -10546,14 +12392,14 @@ export type ReplicationProtectionContainersBeginDiscoverProtectableItemResponse /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationItemCollection; }; }; /** - * Contains response data for the beginSwitchProtection operation. + * Contains response data for the listByReplicationMigrationItems operation. */ -export type ReplicationProtectionContainersBeginSwitchProtectionResponse = ProtectionContainer & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10565,14 +12411,14 @@ export type ReplicationProtectionContainersBeginSwitchProtectionResponse = Prote /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainer; + parsedBody: MigrationRecoveryPointCollection; }; }; /** - * Contains response data for the listByReplicationFabricsNext operation. + * Contains response data for the get operation. */ -export type ReplicationProtectionContainersListByReplicationFabricsNextResponse = ProtectionContainerCollection & { +export type MigrationRecoveryPointsGetResponse = MigrationRecoveryPoint & { /** * The underlying HTTP response. */ @@ -10584,14 +12430,14 @@ export type ReplicationProtectionContainersListByReplicationFabricsNextResponse /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: MigrationRecoveryPoint; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByReplicationMigrationItemsNext operation. */ -export type ReplicationProtectionContainersListNextResponse = ProtectionContainerCollection & { +export type MigrationRecoveryPointsListByReplicationMigrationItemsNextResponse = MigrationRecoveryPointCollection & { /** * The underlying HTTP response. */ @@ -10603,7 +12449,7 @@ export type ReplicationProtectionContainersListNextResponse = ProtectionContaine /** * The response body as parsed JSON or XML */ - parsedBody: ProtectionContainerCollection; + parsedBody: MigrationRecoveryPointCollection; }; }; @@ -10740,6 +12586,25 @@ export type ReplicationProtectedItemsUpdateResponse = ReplicationProtectedItem & }; }; +/** + * Contains response data for the addDisks operation. + */ +export type ReplicationProtectedItemsAddDisksResponse = ReplicationProtectedItem & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationProtectedItem; + }; +}; + /** * Contains response data for the applyRecoveryPoint operation. */ @@ -10797,6 +12662,25 @@ export type ReplicationProtectedItemsPlannedFailoverResponse = ReplicationProtec }; }; +/** + * Contains response data for the removeDisks operation. + */ +export type ReplicationProtectedItemsRemoveDisksResponse = ReplicationProtectedItem & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationProtectedItem; + }; +}; + /** * Contains response data for the repairReplication operation. */ @@ -10835,6 +12719,25 @@ export type ReplicationProtectedItemsReprotectResponse = ReplicationProtectedIte }; }; +/** + * Contains response data for the resolveHealthErrors operation. + */ +export type ReplicationProtectedItemsResolveHealthErrorsResponse = ReplicationProtectedItem & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationProtectedItem; + }; +}; + /** * Contains response data for the testFailover operation. */ @@ -10968,6 +12871,25 @@ export type ReplicationProtectedItemsBeginUpdateResponse = ReplicationProtectedI }; }; +/** + * Contains response data for the beginAddDisks operation. + */ +export type ReplicationProtectedItemsBeginAddDisksResponse = ReplicationProtectedItem & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationProtectedItem; + }; +}; + /** * Contains response data for the beginApplyRecoveryPoint operation. */ @@ -11025,6 +12947,25 @@ export type ReplicationProtectedItemsBeginPlannedFailoverResponse = ReplicationP }; }; +/** + * Contains response data for the beginRemoveDisks operation. + */ +export type ReplicationProtectedItemsBeginRemoveDisksResponse = ReplicationProtectedItem & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationProtectedItem; + }; +}; + /** * Contains response data for the beginRepairReplication operation. */ @@ -11063,6 +13004,25 @@ export type ReplicationProtectedItemsBeginReprotectResponse = ReplicationProtect }; }; +/** + * Contains response data for the beginResolveHealthErrors operation. + */ +export type ReplicationProtectedItemsBeginResolveHealthErrorsResponse = ReplicationProtectedItem & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ReplicationProtectedItem; + }; +}; + /** * Contains response data for the beginTestFailover operation. */ @@ -11481,6 +13441,25 @@ export type ReplicationRecoveryServicesProvidersGetResponse = RecoveryServicesPr }; }; +/** + * Contains response data for the create operation. + */ +export type ReplicationRecoveryServicesProvidersCreateResponse = RecoveryServicesProvider & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoveryServicesProvider; + }; +}; + /** * Contains response data for the refreshProvider operation. */ @@ -11519,6 +13498,25 @@ export type ReplicationRecoveryServicesProvidersListResponse = RecoveryServicesP }; }; +/** + * Contains response data for the beginCreate operation. + */ +export type ReplicationRecoveryServicesProvidersBeginCreateResponse = RecoveryServicesProvider & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: RecoveryServicesProvider; + }; +}; + /** * Contains response data for the beginRefreshProvider operation. */ @@ -12678,6 +14676,25 @@ export type ReplicationRecoveryPlansListNextResponse = RecoveryPlanCollection & }; }; +/** + * Contains response data for the get operation. + */ +export type SupportedOperatingSystemsGetResponse = SupportedOperatingSystems & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SupportedOperatingSystems; + }; +}; + /** * Contains response data for the get operation. */ diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts index 334f3b50b4ba..da181f87de5d 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/mappers.ts @@ -14,6 +14,133 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; +export const A2AVmDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AVmDiskInputDetails", + type: { + name: "Composite", + className: "A2AVmDiskInputDetails", + modelProperties: { + diskUri: { + serializedName: "diskUri", + type: { + name: "String" + } + }, + recoveryAzureStorageAccountId: { + serializedName: "recoveryAzureStorageAccountId", + type: { + name: "String" + } + }, + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const A2AVmManagedDiskInputDetails: msRest.CompositeMapper = { + serializedName: "A2AVmManagedDiskInputDetails", + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + primaryStagingAzureStorageAccountId: { + serializedName: "primaryStagingAzureStorageAccountId", + type: { + name: "String" + } + }, + recoveryResourceGroupId: { + serializedName: "recoveryResourceGroupId", + type: { + name: "String" + } + }, + recoveryReplicaDiskAccountType: { + serializedName: "recoveryReplicaDiskAccountType", + type: { + name: "String" + } + }, + recoveryTargetDiskAccountType: { + serializedName: "recoveryTargetDiskAccountType", + type: { + name: "String" + } + } + } + } +}; + +export const AddDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "AddDisksProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "AddDisksProviderSpecificInput", + className: "AddDisksProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2AAddDisksInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: AddDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "AddDisksProviderSpecificInput", + className: "A2AAddDisksInput", + modelProperties: { + ...AddDisksProviderSpecificInput.type.modelProperties, + vmDisks: { + serializedName: "vmDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmDiskInputDetails" + } + } + } + }, + vmManagedDisks: { + serializedName: "vmManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "A2AVmManagedDiskInputDetails" + } + } + } + } + } + } +}; + export const ApplyRecoveryPointProviderSpecificInput: msRest.CompositeMapper = { serializedName: "ApplyRecoveryPointProviderSpecificInput", type: { @@ -131,74 +258,6 @@ export const A2AContainerMappingInput: msRest.CompositeMapper = { } }; -export const A2AVmDiskInputDetails: msRest.CompositeMapper = { - serializedName: "A2AVmDiskInputDetails", - type: { - name: "Composite", - className: "A2AVmDiskInputDetails", - modelProperties: { - diskUri: { - serializedName: "diskUri", - type: { - name: "String" - } - }, - recoveryAzureStorageAccountId: { - serializedName: "recoveryAzureStorageAccountId", - type: { - name: "String" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", - type: { - name: "String" - } - } - } - } -}; - -export const A2AVmManagedDiskInputDetails: msRest.CompositeMapper = { - serializedName: "A2AVmManagedDiskInputDetails", - type: { - name: "Composite", - className: "A2AVmManagedDiskInputDetails", - modelProperties: { - diskId: { - serializedName: "diskId", - type: { - name: "String" - } - }, - primaryStagingAzureStorageAccountId: { - serializedName: "primaryStagingAzureStorageAccountId", - type: { - name: "String" - } - }, - recoveryResourceGroupId: { - serializedName: "recoveryResourceGroupId", - type: { - name: "String" - } - }, - recoveryReplicaDiskAccountType: { - serializedName: "recoveryReplicaDiskAccountType", - type: { - name: "String" - } - }, - recoveryTargetDiskAccountType: { - serializedName: "recoveryTargetDiskAccountType", - type: { - name: "String" - } - } - } - } -}; - export const DiskEncryptionKeyInfo: msRest.CompositeMapper = { serializedName: "DiskEncryptionKeyInfo", type: { @@ -702,6 +761,23 @@ export const A2AProtectedDiskDetails: msRest.CompositeMapper = { name: "Number" } }, + diskState: { + serializedName: "diskState", + type: { + name: "String" + } + }, + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, isDiskEncrypted: { serializedName: "isDiskEncrypted", type: { @@ -838,6 +914,23 @@ export const A2AProtectedManagedDiskDetails: msRest.CompositeMapper = { name: "Number" } }, + diskState: { + serializedName: "diskState", + type: { + name: "String" + } + }, + allowedDiskLevelOperation: { + serializedName: "allowedDiskLevelOperation", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, isDiskEncrypted: { serializedName: "isDiskEncrypted", type: { @@ -978,6 +1071,63 @@ export const A2ARecoveryPointDetails: msRest.CompositeMapper = { } }; +export const RemoveDisksProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "RemoveDisksProviderSpecificInput", + className: "RemoveDisksProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const A2ARemoveDisksInput: msRest.CompositeMapper = { + serializedName: "A2A", + type: { + name: "Composite", + polymorphicDiscriminator: RemoveDisksProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "RemoveDisksProviderSpecificInput", + className: "A2ARemoveDisksInput", + modelProperties: { + ...RemoveDisksProviderSpecificInput.type.modelProperties, + vmDisksUris: { + serializedName: "vmDisksUris", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + vmManagedDisksIds: { + serializedName: "vmManagedDisksIds", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + export const VMNicDetails: msRest.CompositeMapper = { serializedName: "VMNicDetails", type: { @@ -1066,46 +1216,6 @@ export const VMNicDetails: msRest.CompositeMapper = { } }; -export const RoleAssignment: msRest.CompositeMapper = { - serializedName: "RoleAssignment", - type: { - name: "Composite", - className: "RoleAssignment", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - scope: { - serializedName: "scope", - type: { - name: "String" - } - }, - principalId: { - serializedName: "principalId", - type: { - name: "String" - } - }, - roleDefinitionId: { - serializedName: "roleDefinitionId", - type: { - name: "String" - } - } - } - } -}; - export const InputEndpoint: msRest.CompositeMapper = { serializedName: "InputEndpoint", type: { @@ -1157,18 +1267,6 @@ export const AzureToAzureVmSyncedConfigDetails: msRest.CompositeMapper = { } } }, - roleAssignments: { - serializedName: "roleAssignments", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RoleAssignment" - } - } - } - }, inputEndpoints: { serializedName: "inputEndpoints", type: { @@ -1751,6 +1849,136 @@ export const A2AUpdateReplicationProtectedItemInput: msRest.CompositeMapper = { } }; +export const AddDisksInputProperties: msRest.CompositeMapper = { + serializedName: "AddDisksInputProperties", + type: { + name: "Composite", + className: "AddDisksInputProperties", + modelProperties: { + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "AddDisksProviderSpecificInput" + } + } + } + } +}; + +export const AddDisksInput: msRest.CompositeMapper = { + serializedName: "AddDisksInput", + type: { + name: "Composite", + className: "AddDisksInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AddDisksInputProperties" + } + } + } + } +}; + +export const IdentityProviderInput: msRest.CompositeMapper = { + serializedName: "IdentityProviderInput", + type: { + name: "Composite", + className: "IdentityProviderInput", + modelProperties: { + tenantId: { + required: true, + serializedName: "tenantId", + type: { + name: "String" + } + }, + applicationId: { + required: true, + serializedName: "applicationId", + type: { + name: "String" + } + }, + objectId: { + required: true, + serializedName: "objectId", + type: { + name: "String" + } + }, + audience: { + required: true, + serializedName: "audience", + type: { + name: "String" + } + }, + aadAuthority: { + required: true, + serializedName: "aadAuthority", + type: { + name: "String" + } + } + } + } +}; + +export const AddRecoveryServicesProviderInputProperties: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInputProperties", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInputProperties", + modelProperties: { + machineName: { + required: true, + serializedName: "machineName", + type: { + name: "String" + } + }, + authenticationIdentityInput: { + required: true, + serializedName: "authenticationIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + }, + resourceAccessIdentityInput: { + required: true, + serializedName: "resourceAccessIdentityInput", + type: { + name: "Composite", + className: "IdentityProviderInput" + } + } + } + } +}; + +export const AddRecoveryServicesProviderInput: msRest.CompositeMapper = { + serializedName: "AddRecoveryServicesProviderInput", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "AddRecoveryServicesProviderInputProperties" + } + } + } + } +}; + export const AddVCenterRequestProperties: msRest.CompositeMapper = { serializedName: "AddVCenterRequestProperties", type: { @@ -3131,6 +3359,34 @@ export const CreateRecoveryPlanInput: msRest.CompositeMapper = { } }; +export const CurrentJobDetails: msRest.CompositeMapper = { + serializedName: "CurrentJobDetails", + type: { + name: "Composite", + className: "CurrentJobDetails", + modelProperties: { + jobName: { + serializedName: "jobName", + type: { + name: "String" + } + }, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + } + } + } +}; + export const CurrentScenarioDetails: msRest.CompositeMapper = { serializedName: "CurrentScenarioDetails", type: { @@ -3396,6 +3652,71 @@ export const Display: msRest.CompositeMapper = { } }; +export const EnableMigrationProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "EnableMigrationProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "EnableMigrationProviderSpecificInput", + className: "EnableMigrationProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const EnableMigrationInputProperties: msRest.CompositeMapper = { + serializedName: "EnableMigrationInputProperties", + type: { + name: "Composite", + className: "EnableMigrationInputProperties", + modelProperties: { + policyId: { + required: true, + serializedName: "policyId", + type: { + name: "String" + } + }, + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "EnableMigrationProviderSpecificInput" + } + } + } + } +}; + +export const EnableMigrationInput: msRest.CompositeMapper = { + serializedName: "EnableMigrationInput", + type: { + name: "Composite", + className: "EnableMigrationInput", + modelProperties: { + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "EnableMigrationInputProperties" + } + } + } + } +}; + export const EnableProtectionInputProperties: msRest.CompositeMapper = { serializedName: "EnableProtectionInputProperties", type: { @@ -3663,6 +3984,18 @@ export const HealthError: msRest.CompositeMapper = { type: { name: "String" } + }, + errorId: { + serializedName: "errorId", + type: { + name: "String" + } + }, + customerResolvability: { + serializedName: "customerResolvability", + type: { + name: "String" + } } } } @@ -5661,18 +5994,12 @@ export const HyperVVirtualMachineDetails: msRest.CompositeMapper = { } }; -export const IdentityInformation: msRest.CompositeMapper = { - serializedName: "IdentityInformation", +export const IdentityProviderDetails: msRest.CompositeMapper = { + serializedName: "IdentityProviderDetails", type: { name: "Composite", - className: "IdentityInformation", + className: "IdentityProviderDetails", modelProperties: { - identityProviderType: { - serializedName: "identityProviderType", - type: { - name: "String" - } - }, tenantId: { serializedName: "tenantId", type: { @@ -5702,12 +6029,6 @@ export const IdentityInformation: msRest.CompositeMapper = { type: { name: "String" } - }, - certificateThumbprint: { - serializedName: "certificateThumbprint", - type: { - name: "String" - } } } } @@ -5824,18 +6145,46 @@ export const InMageAzureV2ApplyRecoveryPointInput: msRest.CompositeMapper = { } }; -export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { - serializedName: "InMageAzureV2", +export const InMageAzureV2DiskInputDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2DiskInputDetails", type: { name: "Composite", - polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, - uberParent: "EnableProtectionProviderSpecificInput", - className: "InMageAzureV2EnableProtectionInput", + className: "InMageAzureV2DiskInputDetails", modelProperties: { - ...EnableProtectionProviderSpecificInput.type.modelProperties, - masterTargetId: { - serializedName: "masterTargetId", - type: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + logStorageAccountId: { + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + +export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { + serializedName: "InMageAzureV2", + type: { + name: "Composite", + polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableProtectionProviderSpecificInput", + className: "InMageAzureV2EnableProtectionInput", + modelProperties: { + ...EnableProtectionProviderSpecificInput.type.modelProperties, + masterTargetId: { + serializedName: "masterTargetId", + type: { name: "String" } }, @@ -5846,7 +6195,6 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { } }, storageAccountId: { - required: true, serializedName: "storageAccountId", type: { name: "String" @@ -5876,7 +6224,8 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "InMageAzureV2DiskInputDetails" } } } @@ -5923,8 +6272,8 @@ export const InMageAzureV2EnableProtectionInput: msRest.CompositeMapper = { name: "String" } }, - useManagedDisks: { - serializedName: "useManagedDisks", + diskType: { + serializedName: "diskType", type: { name: "String" } @@ -6013,6 +6362,34 @@ export const InMageAzureV2FailoverProviderInput: msRest.CompositeMapper = { } }; +export const InMageAzureV2ManagedDiskDetails: msRest.CompositeMapper = { + serializedName: "InMageAzureV2ManagedDiskDetails", + type: { + name: "Composite", + className: "InMageAzureV2ManagedDiskDetails", + modelProperties: { + diskId: { + serializedName: "diskId", + type: { + name: "String" + } + }, + seedManagedDiskId: { + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + replicaDiskType: { + serializedName: "replicaDiskType", + type: { + name: "String" + } + } + } + } +}; + export const InMageAzureV2PolicyDetails: msRest.CompositeMapper = { serializedName: "InMageAzureV2", type: { @@ -6550,6 +6927,18 @@ export const InMageAzureV2ReplicationDetails: msRest.CompositeMapper = { type: { name: "String" } + }, + protectedManagedDisks: { + serializedName: "protectedManagedDisks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InMageAzureV2ManagedDiskDetails" + } + } + } } } } @@ -7991,26 +8380,20 @@ export const MasterTargetServer: msRest.CompositeMapper = { } }; -export const MobilityServiceUpdate: msRest.CompositeMapper = { - serializedName: "MobilityServiceUpdate", +export const MigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "MigrateProviderSpecificInput", type: { name: "Composite", - className: "MobilityServiceUpdate", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrateProviderSpecificInput", + className: "MigrateProviderSpecificInput", modelProperties: { - version: { - serializedName: "version", - type: { - name: "String" - } - }, - rebootStatus: { - serializedName: "rebootStatus", - type: { - name: "String" - } - }, - osType: { - serializedName: "osType", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -8019,398 +8402,701 @@ export const MobilityServiceUpdate: msRest.CompositeMapper = { } }; -export const Subnet: msRest.CompositeMapper = { - serializedName: "Subnet", +export const MigrateInputProperties: msRest.CompositeMapper = { + serializedName: "MigrateInputProperties", type: { name: "Composite", - className: "Subnet", + className: "MigrateInputProperties", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - addressList: { - serializedName: "addressList", + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "MigrateProviderSpecificInput" } } } } }; -export const NetworkProperties: msRest.CompositeMapper = { - serializedName: "NetworkProperties", +export const MigrateInput: msRest.CompositeMapper = { + serializedName: "MigrateInput", type: { name: "Composite", - className: "NetworkProperties", + className: "MigrateInput", modelProperties: { - fabricType: { - serializedName: "fabricType", - type: { - name: "String" - } - }, - subnets: { - serializedName: "subnets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Subnet" - } - } - } - }, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - networkType: { - serializedName: "networkType", + properties: { + required: true, + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "MigrateInputProperties" } } } } }; -export const Network: msRest.CompositeMapper = { - serializedName: "Network", +export const MigrationProviderSpecificSettings: msRest.CompositeMapper = { + serializedName: "MigrationProviderSpecificSettings", type: { name: "Composite", - className: "Network", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "MigrationProviderSpecificSettings", + className: "MigrationProviderSpecificSettings", modelProperties: { - ...Resource.type.modelProperties, - properties: { - serializedName: "properties", + instanceType: { + required: true, + serializedName: "instanceType", type: { - name: "Composite", - className: "NetworkProperties" + name: "String" } } } } }; -export const NetworkMappingProperties: msRest.CompositeMapper = { - serializedName: "NetworkMappingProperties", +export const MigrationItemProperties: msRest.CompositeMapper = { + serializedName: "MigrationItemProperties", type: { name: "Composite", - className: "NetworkMappingProperties", + className: "MigrationItemProperties", modelProperties: { - state: { - serializedName: "state", + machineName: { + readOnly: true, + serializedName: "machineName", type: { name: "String" } }, - primaryNetworkFriendlyName: { - serializedName: "primaryNetworkFriendlyName", + policyId: { + readOnly: true, + serializedName: "policyId", type: { name: "String" } }, - primaryNetworkId: { - serializedName: "primaryNetworkId", + policyFriendlyName: { + readOnly: true, + serializedName: "policyFriendlyName", type: { name: "String" } }, - primaryFabricFriendlyName: { - serializedName: "primaryFabricFriendlyName", + recoveryServicesProviderId: { + readOnly: true, + serializedName: "recoveryServicesProviderId", type: { name: "String" } }, - recoveryNetworkFriendlyName: { - serializedName: "recoveryNetworkFriendlyName", + migrationState: { + readOnly: true, + serializedName: "migrationState", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + migrationStateDescription: { + readOnly: true, + serializedName: "migrationStateDescription", type: { name: "String" } }, - recoveryFabricArmId: { - serializedName: "recoveryFabricArmId", + testMigrateState: { + readOnly: true, + serializedName: "testMigrateState", type: { name: "String" } }, - recoveryFabricFriendlyName: { - serializedName: "recoveryFabricFriendlyName", + testMigrateStateDescription: { + readOnly: true, + serializedName: "testMigrateStateDescription", type: { name: "String" } }, - fabricSpecificSettings: { - serializedName: "fabricSpecificSettings", + health: { + readOnly: true, + serializedName: "health", + type: { + name: "String" + } + }, + healthErrors: { + readOnly: true, + serializedName: "healthErrors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthError" + } + } + } + }, + allowedOperations: { + readOnly: true, + serializedName: "allowedOperations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + currentJob: { + readOnly: true, + serializedName: "currentJob", type: { name: "Composite", - className: "NetworkMappingFabricSpecificSettings" + className: "CurrentJobDetails" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "MigrationProviderSpecificSettings" } } } } }; -export const NetworkMapping: msRest.CompositeMapper = { - serializedName: "NetworkMapping", +export const MigrationItem: msRest.CompositeMapper = { + serializedName: "MigrationItem", type: { name: "Composite", - className: "NetworkMapping", + className: "MigrationItem", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "NetworkMappingProperties" + className: "MigrationItemProperties" } } } } }; -export const OperationsDiscovery: msRest.CompositeMapper = { - serializedName: "OperationsDiscovery", +export const MigrationItemsQueryParameter: msRest.CompositeMapper = { + serializedName: "MigrationItemsQueryParameter", type: { name: "Composite", - className: "OperationsDiscovery", + className: "MigrationItemsQueryParameter", modelProperties: { - name: { - serializedName: "name", + sourceFabricName: { + serializedName: "sourceFabricName", type: { name: "String" } }, - display: { - serializedName: "display", + instanceType: { + serializedName: "instanceType", type: { - name: "Composite", - className: "Display" + name: "String" + } + } + } + } +}; + +export const MigrationRecoveryPointProperties: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointProperties", + type: { + name: "Composite", + className: "MigrationRecoveryPointProperties", + modelProperties: { + recoveryPointTime: { + readOnly: true, + serializedName: "recoveryPointTime", + type: { + name: "DateTime" } }, - origin: { - serializedName: "origin", + recoveryPointType: { + readOnly: true, + serializedName: "recoveryPointType", type: { name: "String" } - }, + } + } + } +}; + +export const MigrationRecoveryPoint: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPoint", + type: { + name: "Composite", + className: "MigrationRecoveryPoint", + modelProperties: { + ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { - name: "Object" + name: "Composite", + className: "MigrationRecoveryPointProperties" } } } } }; -export const PlannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInputProperties", +export const MobilityServiceUpdate: msRest.CompositeMapper = { + serializedName: "MobilityServiceUpdate", type: { name: "Composite", - className: "PlannedFailoverInputProperties", + className: "MobilityServiceUpdate", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", + version: { + serializedName: "version", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + rebootStatus: { + serializedName: "rebootStatus", type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" } } } } }; -export const PlannedFailoverInput: msRest.CompositeMapper = { - serializedName: "PlannedFailoverInput", +export const Subnet: msRest.CompositeMapper = { + serializedName: "Subnet", type: { name: "Composite", - className: "PlannedFailoverInput", + className: "Subnet", modelProperties: { - properties: { - serializedName: "properties", + name: { + serializedName: "name", type: { - name: "Composite", - className: "PlannedFailoverInputProperties" + name: "String" + } + }, + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + addressList: { + serializedName: "addressList", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const PolicyProperties: msRest.CompositeMapper = { - serializedName: "PolicyProperties", +export const NetworkProperties: msRest.CompositeMapper = { + serializedName: "NetworkProperties", type: { name: "Composite", - className: "PolicyProperties", + className: "NetworkProperties", modelProperties: { + fabricType: { + serializedName: "fabricType", + type: { + name: "String" + } + }, + subnets: { + serializedName: "subnets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Subnet" + } + } + } + }, friendlyName: { serializedName: "friendlyName", type: { name: "String" } }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", + networkType: { + serializedName: "networkType", type: { - name: "Composite", - className: "PolicyProviderSpecificDetails" + name: "String" } } } } }; -export const Policy: msRest.CompositeMapper = { - serializedName: "Policy", +export const Network: msRest.CompositeMapper = { + serializedName: "Network", type: { name: "Composite", - className: "Policy", + className: "Network", modelProperties: { ...Resource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "PolicyProperties" + className: "NetworkProperties" } } } } }; -export const ProcessServer: msRest.CompositeMapper = { - serializedName: "ProcessServer", +export const NetworkMappingProperties: msRest.CompositeMapper = { + serializedName: "NetworkMappingProperties", type: { name: "Composite", - className: "ProcessServer", + className: "NetworkMappingProperties", modelProperties: { - friendlyName: { - serializedName: "friendlyName", + state: { + serializedName: "state", type: { name: "String" } }, - id: { - serializedName: "id", + primaryNetworkFriendlyName: { + serializedName: "primaryNetworkFriendlyName", type: { name: "String" } }, - ipAddress: { - serializedName: "ipAddress", + primaryNetworkId: { + serializedName: "primaryNetworkId", type: { name: "String" } }, - osType: { - serializedName: "osType", + primaryFabricFriendlyName: { + serializedName: "primaryFabricFriendlyName", type: { name: "String" } }, - agentVersion: { - serializedName: "agentVersion", + recoveryNetworkFriendlyName: { + serializedName: "recoveryNetworkFriendlyName", type: { name: "String" } }, - lastHeartbeat: { - serializedName: "lastHeartbeat", + recoveryNetworkId: { + serializedName: "recoveryNetworkId", type: { - name: "DateTime" + name: "String" } }, - versionStatus: { - serializedName: "versionStatus", + recoveryFabricArmId: { + serializedName: "recoveryFabricArmId", type: { name: "String" } }, - mobilityServiceUpdates: { - serializedName: "mobilityServiceUpdates", + recoveryFabricFriendlyName: { + serializedName: "recoveryFabricFriendlyName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MobilityServiceUpdate" - } - } + name: "String" } }, - hostId: { - serializedName: "hostId", + fabricSpecificSettings: { + serializedName: "fabricSpecificSettings", type: { - name: "String" + name: "Composite", + className: "NetworkMappingFabricSpecificSettings" } - }, - machineCount: { - serializedName: "machineCount", + } + } + } +}; + +export const NetworkMapping: msRest.CompositeMapper = { + serializedName: "NetworkMapping", + type: { + name: "Composite", + className: "NetworkMapping", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "NetworkMappingProperties" } - }, - replicationPairCount: { - serializedName: "replicationPairCount", + } + } + } +}; + +export const OperationsDiscovery: msRest.CompositeMapper = { + serializedName: "OperationsDiscovery", + type: { + name: "Composite", + className: "OperationsDiscovery", + modelProperties: { + name: { + serializedName: "name", type: { name: "String" } }, - systemLoad: { - serializedName: "systemLoad", + display: { + serializedName: "display", type: { - name: "String" + name: "Composite", + className: "Display" } }, - systemLoadStatus: { - serializedName: "systemLoadStatus", + origin: { + serializedName: "origin", type: { name: "String" } }, - cpuLoad: { - serializedName: "cpuLoad", + properties: { + serializedName: "properties", + type: { + name: "Object" + } + } + } + } +}; + +export const OSVersionWrapper: msRest.CompositeMapper = { + serializedName: "OSVersionWrapper", + type: { + name: "Composite", + className: "OSVersionWrapper", + modelProperties: { + version: { + serializedName: "version", type: { name: "String" } }, - cpuLoadStatus: { - serializedName: "cpuLoadStatus", + servicePack: { + serializedName: "servicePack", type: { name: "String" } - }, + } + } + } +}; + +export const PlannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInputProperties", + type: { + name: "Composite", + className: "PlannedFailoverInputProperties", + modelProperties: { + failoverDirection: { + serializedName: "failoverDirection", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "ProviderSpecificFailoverInput" + } + } + } + } +}; + +export const PlannedFailoverInput: msRest.CompositeMapper = { + serializedName: "PlannedFailoverInput", + type: { + name: "Composite", + className: "PlannedFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PlannedFailoverInputProperties" + } + } + } + } +}; + +export const PolicyProperties: msRest.CompositeMapper = { + serializedName: "PolicyProperties", + type: { + name: "Composite", + className: "PolicyProperties", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "PolicyProviderSpecificDetails" + } + } + } + } +}; + +export const Policy: msRest.CompositeMapper = { + serializedName: "Policy", + type: { + name: "Composite", + className: "Policy", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "PolicyProperties" + } + } + } + } +}; + +export const ProcessServer: msRest.CompositeMapper = { + serializedName: "ProcessServer", + type: { + name: "Composite", + className: "ProcessServer", + modelProperties: { + friendlyName: { + serializedName: "friendlyName", + type: { + name: "String" + } + }, + id: { + serializedName: "id", + type: { + name: "String" + } + }, + ipAddress: { + serializedName: "ipAddress", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + agentVersion: { + serializedName: "agentVersion", + type: { + name: "String" + } + }, + lastHeartbeat: { + serializedName: "lastHeartbeat", + type: { + name: "DateTime" + } + }, + versionStatus: { + serializedName: "versionStatus", + type: { + name: "String" + } + }, + mobilityServiceUpdates: { + serializedName: "mobilityServiceUpdates", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MobilityServiceUpdate" + } + } + } + }, + hostId: { + serializedName: "hostId", + type: { + name: "String" + } + }, + machineCount: { + serializedName: "machineCount", + type: { + name: "String" + } + }, + replicationPairCount: { + serializedName: "replicationPairCount", + type: { + name: "String" + } + }, + systemLoad: { + serializedName: "systemLoad", + type: { + name: "String" + } + }, + systemLoadStatus: { + serializedName: "systemLoadStatus", + type: { + name: "String" + } + }, + cpuLoad: { + serializedName: "cpuLoad", + type: { + name: "String" + } + }, + cpuLoadStatus: { + serializedName: "cpuLoadStatus", + type: { + name: "String" + } + }, totalMemoryInBytes: { serializedName: "totalMemoryInBytes", type: { @@ -9665,11 +10351,18 @@ export const RecoveryServicesProviderProperties: msRest.CompositeMapper = { name: "String" } }, - identityDetails: { - serializedName: "identityDetails", + authenticationIdentityDetails: { + serializedName: "authenticationIdentityDetails", + type: { + name: "Composite", + className: "IdentityProviderDetails" + } + }, + resourceAccessIdentityDetails: { + serializedName: "resourceAccessIdentityDetails", type: { name: "Composite", - className: "IdentityInformation" + className: "IdentityProviderDetails" } }, providerVersionDetails: { @@ -9701,6 +10394,40 @@ export const RecoveryServicesProvider: msRest.CompositeMapper = { } }; +export const RemoveDisksInputProperties: msRest.CompositeMapper = { + serializedName: "RemoveDisksInputProperties", + type: { + name: "Composite", + className: "RemoveDisksInputProperties", + modelProperties: { + providerSpecificDetails: { + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "RemoveDisksProviderSpecificInput" + } + } + } + } +}; + +export const RemoveDisksInput: msRest.CompositeMapper = { + serializedName: "RemoveDisksInput", + type: { + name: "Composite", + className: "RemoveDisksInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "RemoveDisksInputProperties" + } + } + } + } +}; + export const ReplicationProviderContainerUnmappingInput: msRest.CompositeMapper = { serializedName: "ReplicationProviderContainerUnmappingInput", type: { @@ -10000,68 +10727,123 @@ export const ReplicationProtectedItem: msRest.CompositeMapper = { } }; -export const ResourceHealthSummary: msRest.CompositeMapper = { - serializedName: "ResourceHealthSummary", +export const ResolveHealthError: msRest.CompositeMapper = { + serializedName: "ResolveHealthError", type: { name: "Composite", - className: "ResourceHealthSummary", + className: "ResolveHealthError", modelProperties: { - resourceCount: { - serializedName: "resourceCount", - type: { - name: "Number" - } - }, - issues: { - serializedName: "issues", + healthErrorId: { + serializedName: "healthErrorId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthErrorSummary" - } - } + name: "String" } } } } }; -export const ResumeJobParamsProperties: msRest.CompositeMapper = { - serializedName: "ResumeJobParamsProperties", +export const ResolveHealthInputProperties: msRest.CompositeMapper = { + serializedName: "ResolveHealthInputProperties", type: { name: "Composite", - className: "ResumeJobParamsProperties", + className: "ResolveHealthInputProperties", modelProperties: { - comments: { - serializedName: "comments", + healthErrors: { + serializedName: "healthErrors", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResolveHealthError" + } + } } } } } }; -export const ResumeJobParams: msRest.CompositeMapper = { - serializedName: "ResumeJobParams", +export const ResolveHealthInput: msRest.CompositeMapper = { + serializedName: "ResolveHealthInput", type: { name: "Composite", - className: "ResumeJobParams", + className: "ResolveHealthInput", modelProperties: { properties: { serializedName: "properties", type: { name: "Composite", - className: "ResumeJobParamsProperties" + className: "ResolveHealthInputProperties" } } } } }; -export const ReverseReplicationInputProperties: msRest.CompositeMapper = { +export const ResourceHealthSummary: msRest.CompositeMapper = { + serializedName: "ResourceHealthSummary", + type: { + name: "Composite", + className: "ResourceHealthSummary", + modelProperties: { + resourceCount: { + serializedName: "resourceCount", + type: { + name: "Number" + } + }, + issues: { + serializedName: "issues", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthErrorSummary" + } + } + } + } + } + } +}; + +export const ResumeJobParamsProperties: msRest.CompositeMapper = { + serializedName: "ResumeJobParamsProperties", + type: { + name: "Composite", + className: "ResumeJobParamsProperties", + modelProperties: { + comments: { + serializedName: "comments", + type: { + name: "String" + } + } + } + } +}; + +export const ResumeJobParams: msRest.CompositeMapper = { + serializedName: "ResumeJobParams", + type: { + name: "Composite", + className: "ResumeJobParams", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ResumeJobParamsProperties" + } + } + } + } +}; + +export const ReverseReplicationInputProperties: msRest.CompositeMapper = { serializedName: "ReverseReplicationInputProperties", type: { name: "Composite", @@ -10101,6 +10883,46 @@ export const ReverseReplicationInput: msRest.CompositeMapper = { } }; +export const RoleAssignment: msRest.CompositeMapper = { + serializedName: "RoleAssignment", + type: { + name: "Composite", + className: "RoleAssignment", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + scope: { + serializedName: "scope", + type: { + name: "String" + } + }, + principalId: { + serializedName: "principalId", + type: { + name: "String" + } + }, + roleDefinitionId: { + serializedName: "roleDefinitionId", + type: { + name: "String" + } + } + } + } +}; + export const RunAsAccount: msRest.CompositeMapper = { serializedName: "RunAsAccount", type: { @@ -10274,6 +11096,109 @@ export const StorageClassificationMappingInput: msRest.CompositeMapper = { } }; +export const SupportedOSDetails: msRest.CompositeMapper = { + serializedName: "SupportedOSDetails", + type: { + name: "Composite", + className: "SupportedOSDetails", + modelProperties: { + osName: { + serializedName: "osName", + type: { + name: "String" + } + }, + osType: { + serializedName: "osType", + type: { + name: "String" + } + }, + osVersions: { + serializedName: "osVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "OSVersionWrapper" + } + } + } + } + } + } +}; + +export const SupportedOSProperty: msRest.CompositeMapper = { + serializedName: "SupportedOSProperty", + type: { + name: "Composite", + className: "SupportedOSProperty", + modelProperties: { + instanceType: { + readOnly: true, + serializedName: "instanceType", + type: { + name: "String" + } + }, + supportedOs: { + serializedName: "supportedOs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSDetails" + } + } + } + } + } + } +}; + +export const SupportedOSProperties: msRest.CompositeMapper = { + serializedName: "SupportedOSProperties", + type: { + name: "Composite", + className: "SupportedOSProperties", + modelProperties: { + supportedOsList: { + serializedName: "supportedOsList", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SupportedOSProperty" + } + } + } + } + } + } +}; + +export const SupportedOperatingSystems: msRest.CompositeMapper = { + serializedName: "SupportedOperatingSystems", + type: { + name: "Composite", + className: "SupportedOperatingSystems", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "SupportedOSProperties" + } + } + } + } +}; + export const SwitchProtectionInputProperties: msRest.CompositeMapper = { serializedName: "SwitchProtectionInputProperties", type: { @@ -10579,60 +11504,54 @@ export const TestFailoverJobDetails: msRest.CompositeMapper = { } }; -export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInputProperties", +export const TestMigrateCleanupInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInputProperties", type: { name: "Composite", - className: "UnplannedFailoverInputProperties", + className: "TestMigrateCleanupInputProperties", modelProperties: { - failoverDirection: { - serializedName: "failoverDirection", - type: { - name: "String" - } - }, - sourceSiteOperations: { - serializedName: "sourceSiteOperations", + comments: { + serializedName: "comments", type: { name: "String" } - }, - providerSpecificDetails: { - serializedName: "providerSpecificDetails", - type: { - name: "Composite", - className: "ProviderSpecificFailoverInput" - } } } } }; -export const UnplannedFailoverInput: msRest.CompositeMapper = { - serializedName: "UnplannedFailoverInput", +export const TestMigrateCleanupInput: msRest.CompositeMapper = { + serializedName: "TestMigrateCleanupInput", type: { name: "Composite", - className: "UnplannedFailoverInput", + className: "TestMigrateCleanupInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "UnplannedFailoverInputProperties" + className: "TestMigrateCleanupInputProperties" } } } } }; -export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequestProperties", +export const TestMigrateProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "TestMigrateProviderSpecificInput", type: { name: "Composite", - className: "UpdateMobilityServiceRequestProperties", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "TestMigrateProviderSpecificInput", + className: "TestMigrateProviderSpecificInput", modelProperties: { - runAsAccountId: { - serializedName: "runAsAccountId", + instanceType: { + required: true, + serializedName: "instanceType", type: { name: "String" } @@ -10641,46 +11560,201 @@ export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { } }; -export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { - serializedName: "UpdateMobilityServiceRequest", +export const TestMigrateInputProperties: msRest.CompositeMapper = { + serializedName: "TestMigrateInputProperties", type: { name: "Composite", - className: "UpdateMobilityServiceRequest", + className: "TestMigrateInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "TestMigrateProviderSpecificInput" + } + } + } + } +}; + +export const TestMigrateInput: msRest.CompositeMapper = { + serializedName: "TestMigrateInput", + type: { + name: "Composite", + className: "TestMigrateInput", modelProperties: { properties: { + required: true, serializedName: "properties", type: { name: "Composite", - className: "UpdateMobilityServiceRequestProperties" + className: "TestMigrateInputProperties" } } } } }; -export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { - serializedName: "UpdateNetworkMappingInputProperties", +export const UnplannedFailoverInputProperties: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInputProperties", type: { name: "Composite", - className: "UpdateNetworkMappingInputProperties", + className: "UnplannedFailoverInputProperties", modelProperties: { - recoveryFabricName: { - serializedName: "recoveryFabricName", + failoverDirection: { + serializedName: "failoverDirection", type: { name: "String" } }, - recoveryNetworkId: { - serializedName: "recoveryNetworkId", + sourceSiteOperations: { + serializedName: "sourceSiteOperations", type: { name: "String" } }, - fabricSpecificDetails: { - serializedName: "fabricSpecificDetails", + providerSpecificDetails: { + serializedName: "providerSpecificDetails", type: { name: "Composite", - className: "FabricSpecificUpdateNetworkMappingInput" + className: "ProviderSpecificFailoverInput" + } + } + } + } +}; + +export const UnplannedFailoverInput: msRest.CompositeMapper = { + serializedName: "UnplannedFailoverInput", + type: { + name: "Composite", + className: "UnplannedFailoverInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "UnplannedFailoverInputProperties" + } + } + } + } +}; + +export const UpdateMigrationItemProviderSpecificInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemProviderSpecificInput", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "instanceType", + clientName: "instanceType" + }, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "UpdateMigrationItemProviderSpecificInput", + modelProperties: { + instanceType: { + required: true, + serializedName: "instanceType", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateMigrationItemInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInputProperties", + type: { + name: "Composite", + className: "UpdateMigrationItemInputProperties", + modelProperties: { + providerSpecificDetails: { + required: true, + serializedName: "providerSpecificDetails", + type: { + name: "Composite", + className: "UpdateMigrationItemProviderSpecificInput" + } + } + } + } +}; + +export const UpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "UpdateMigrationItemInput", + type: { + name: "Composite", + className: "UpdateMigrationItemInput", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "UpdateMigrationItemInputProperties" + } + } + } + } +}; + +export const UpdateMobilityServiceRequestProperties: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequestProperties", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequestProperties", + modelProperties: { + runAsAccountId: { + serializedName: "runAsAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const UpdateMobilityServiceRequest: msRest.CompositeMapper = { + serializedName: "UpdateMobilityServiceRequest", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequest", + modelProperties: { + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "UpdateMobilityServiceRequestProperties" + } + } + } + } +}; + +export const UpdateNetworkMappingInputProperties: msRest.CompositeMapper = { + serializedName: "UpdateNetworkMappingInputProperties", + type: { + name: "Composite", + className: "UpdateNetworkMappingInputProperties", + modelProperties: { + recoveryFabricName: { + serializedName: "recoveryFabricName", + type: { + name: "String" + } + }, + recoveryNetworkId: { + serializedName: "recoveryNetworkId", + type: { + name: "String" + } + }, + fabricSpecificDetails: { + serializedName: "fabricSpecificDetails", + type: { + name: "Composite", + className: "FabricSpecificUpdateNetworkMappingInput" } } } @@ -11295,76 +12369,622 @@ export const VmmVirtualMachineDetails: msRest.CompositeMapper = { name: "String" } }, - generation: { - serializedName: "generation", + generation: { + serializedName: "generation", + type: { + name: "String" + } + }, + osDetails: { + serializedName: "osDetails", + type: { + name: "Composite", + className: "OSDetails" + } + }, + diskDetails: { + serializedName: "diskDetails", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiskDetails" + } + } + } + }, + hasPhysicalDisk: { + serializedName: "hasPhysicalDisk", + type: { + name: "String" + } + }, + hasFibreChannelAdapter: { + serializedName: "hasFibreChannelAdapter", + type: { + name: "String" + } + }, + hasSharedVhd: { + serializedName: "hasSharedVhd", + type: { + name: "String" + } + } + } + } +}; + +export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { + serializedName: "VmNicUpdatesTaskDetails", + type: { + name: "Composite", + polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, + uberParent: "TaskTypeDetails", + className: "VmNicUpdatesTaskDetails", + modelProperties: { + ...TaskTypeDetails.type.modelProperties, + vmId: { + serializedName: "vmId", + type: { + name: "String" + } + }, + nicId: { + serializedName: "nicId", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtContainerCreationInput: msRest.CompositeMapper = { + serializedName: "6c7da455-506f-43ff-a16a-8eb101aebb70", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerCreationInput", + className: "VMwareCbtContainerCreationInput", + modelProperties: { + ...ReplicationProviderSpecificContainerCreationInput.type.modelProperties + } + } +}; + +export const VMwareCbtContainerMappingInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator, + uberParent: "ReplicationProviderSpecificContainerMappingInput", + className: "VMwareCbtContainerMappingInput", + modelProperties: { + ...ReplicationProviderSpecificContainerMappingInput.type.modelProperties, + keyVaultId: { + required: true, + serializedName: "keyVaultId", + type: { + name: "String" + } + }, + keyVaultUri: { + required: true, + serializedName: "keyVaultUri", + type: { + name: "String" + } + }, + storageAccountId: { + required: true, + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + storageAccountSasSecretName: { + required: true, + serializedName: "storageAccountSasSecretName", + type: { + name: "String" + } + }, + serviceBusConnectionStringSecretName: { + required: true, + serializedName: "serviceBusConnectionStringSecretName", + type: { + name: "String" + } + }, + targetLocation: { + required: true, + serializedName: "targetLocation", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtDiskInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtDiskInput", + type: { + name: "Composite", + className: "VMwareCbtDiskInput", + modelProperties: { + diskId: { + required: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + isOSDisk: { + required: true, + serializedName: "isOSDisk", + type: { + name: "String" + } + }, + logStorageAccountId: { + required: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + logStorageAccountSasSecretName: { + required: true, + serializedName: "logStorageAccountSasSecretName", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtEnableMigrationInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: EnableMigrationProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "EnableMigrationProviderSpecificInput", + className: "VMwareCbtEnableMigrationInput", + modelProperties: { + ...EnableMigrationProviderSpecificInput.type.modelProperties, + vmwareMachineId: { + required: true, + serializedName: "vmwareMachineId", + type: { + name: "String" + } + }, + disksToInclude: { + required: true, + serializedName: "disksToInclude", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtDiskInput" + } + } + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + dataMoverRunAsAccountId: { + required: true, + serializedName: "dataMoverRunAsAccountId", + type: { + name: "String" + } + }, + snapshotRunAsAccountId: { + required: true, + serializedName: "snapshotRunAsAccountId", + type: { + name: "String" + } + }, + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetResourceGroupId: { + required: true, + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetNetworkId: { + required: true, + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: MigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "MigrateProviderSpecificInput", + className: "VMwareCbtMigrateInput", + modelProperties: { + ...MigrateProviderSpecificInput.type.modelProperties, + performShutdown: { + required: true, + serializedName: "performShutdown", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtProtectedDiskDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtProtectedDiskDetails", + type: { + name: "Composite", + className: "VMwareCbtProtectedDiskDetails", + modelProperties: { + diskId: { + readOnly: true, + serializedName: "diskId", + type: { + name: "String" + } + }, + diskName: { + readOnly: true, + serializedName: "diskName", + type: { + name: "String" + } + }, + diskPath: { + readOnly: true, + serializedName: "diskPath", + type: { + name: "String" + } + }, + isOSDisk: { + readOnly: true, + serializedName: "isOSDisk", + type: { + name: "String" + } + }, + capacityInBytes: { + readOnly: true, + serializedName: "capacityInBytes", + type: { + name: "Number" + } + }, + logStorageAccountId: { + readOnly: true, + serializedName: "logStorageAccountId", + type: { + name: "String" + } + }, + logStorageAccountSasSecretName: { + readOnly: true, + serializedName: "logStorageAccountSasSecretName", + type: { + name: "String" + } + }, + seedManagedDiskId: { + readOnly: true, + serializedName: "seedManagedDiskId", + type: { + name: "String" + } + }, + targetManagedDiskId: { + readOnly: true, + serializedName: "targetManagedDiskId", + type: { + name: "String" + } + }, + diskType: { + serializedName: "diskType", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtNicDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicDetails", + type: { + name: "Composite", + className: "VMwareCbtNicDetails", + modelProperties: { + nicId: { + readOnly: true, + serializedName: "nicId", + type: { + name: "String" + } + }, + isPrimaryNic: { + serializedName: "isPrimaryNic", + type: { + name: "String" + } + }, + sourceIPAddress: { + readOnly: true, + serializedName: "sourceIPAddress", + type: { + name: "String" + } + }, + sourceIPAddressType: { + readOnly: true, + serializedName: "sourceIPAddressType", + type: { + name: "String" + } + }, + sourceNetworkId: { + readOnly: true, + serializedName: "sourceNetworkId", + type: { + name: "String" + } + }, + targetIPAddress: { + serializedName: "targetIPAddress", + type: { + name: "String" + } + }, + targetIPAddressType: { + serializedName: "targetIPAddressType", + type: { + name: "String" + } + }, + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + isSelectedForMigration: { + serializedName: "isSelectedForMigration", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtMigrationDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: MigrationProviderSpecificSettings.type.polymorphicDiscriminator, + uberParent: "MigrationProviderSpecificSettings", + className: "VMwareCbtMigrationDetails", + modelProperties: { + ...MigrationProviderSpecificSettings.type.modelProperties, + vmwareMachineId: { + readOnly: true, + serializedName: "vmwareMachineId", + type: { + name: "String" + } + }, + osType: { + readOnly: true, + serializedName: "osType", + type: { + name: "String" + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + }, + dataMoverRunAsAccountId: { + readOnly: true, + serializedName: "dataMoverRunAsAccountId", + type: { + name: "String" + } + }, + snapshotRunAsAccountId: { + readOnly: true, + serializedName: "snapshotRunAsAccountId", + type: { + name: "String" + } + }, + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", type: { name: "String" } }, - osDetails: { - serializedName: "osDetails", + targetLocation: { + readOnly: true, + serializedName: "targetLocation", type: { - name: "Composite", - className: "OSDetails" + name: "String" } }, - diskDetails: { - serializedName: "diskDetails", + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + protectedDisks: { + serializedName: "protectedDisks", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiskDetails" + className: "VMwareCbtProtectedDiskDetails" } } } }, - hasPhysicalDisk: { - serializedName: "hasPhysicalDisk", + targetNetworkId: { + serializedName: "targetNetworkId", type: { name: "String" } }, - hasFibreChannelAdapter: { - serializedName: "hasFibreChannelAdapter", + vmNics: { + serializedName: "vmNics", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtNicDetails" + } + } } }, - hasSharedVhd: { - serializedName: "hasSharedVhd", + migrationRecoveryPointId: { + readOnly: true, + serializedName: "migrationRecoveryPointId", type: { name: "String" } + }, + lastRecoveryPointReceived: { + readOnly: true, + serializedName: "lastRecoveryPointReceived", + type: { + name: "DateTime" + } } } } }; -export const VmNicUpdatesTaskDetails: msRest.CompositeMapper = { - serializedName: "VmNicUpdatesTaskDetails", +export const VMwareCbtNicInput: msRest.CompositeMapper = { + serializedName: "VMwareCbtNicInput", type: { name: "Composite", - polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator, - uberParent: "TaskTypeDetails", - className: "VmNicUpdatesTaskDetails", + className: "VMwareCbtNicInput", modelProperties: { - ...TaskTypeDetails.type.modelProperties, - vmId: { - serializedName: "vmId", + nicId: { + required: true, + serializedName: "nicId", type: { name: "String" } }, - nicId: { - serializedName: "nicId", + isPrimaryNic: { + required: true, + serializedName: "isPrimaryNic", type: { name: "String" } }, - name: { - serializedName: "name", + targetSubnetName: { + serializedName: "targetSubnetName", + type: { + name: "String" + } + }, + targetStaticIPAddress: { + serializedName: "targetStaticIPAddress", + type: { + name: "String" + } + }, + isSelectedForMigration: { + serializedName: "isSelectedForMigration", type: { name: "String" } @@ -11382,8 +13002,8 @@ export const VMwareCbtPolicyCreationInput: msRest.CompositeMapper = { className: "VMwareCbtPolicyCreationInput", modelProperties: { ...PolicyProviderSpecificInput.type.modelProperties, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } @@ -11413,14 +13033,8 @@ export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { className: "VmwareCbtPolicyDetails", modelProperties: { ...PolicyProviderSpecificDetails.type.modelProperties, - recoveryPointThresholdInMinutes: { - serializedName: "recoveryPointThresholdInMinutes", - type: { - name: "Number" - } - }, - recoveryPointHistory: { - serializedName: "recoveryPointHistory", + recoveryPointHistoryInMinutes: { + serializedName: "recoveryPointHistoryInMinutes", type: { name: "Number" } @@ -11441,6 +13055,155 @@ export const VmwareCbtPolicyDetails: msRest.CompositeMapper = { } }; +export const VMwareCbtProtectionContainerMappingDetails: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator, + uberParent: "ProtectionContainerMappingProviderSpecificDetails", + className: "VMwareCbtProtectionContainerMappingDetails", + modelProperties: { + ...ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, + keyVaultId: { + readOnly: true, + serializedName: "keyVaultId", + type: { + name: "String" + } + }, + keyVaultUri: { + readOnly: true, + serializedName: "keyVaultUri", + type: { + name: "String" + } + }, + storageAccountId: { + readOnly: true, + serializedName: "storageAccountId", + type: { + name: "String" + } + }, + storageAccountSasSecretName: { + readOnly: true, + serializedName: "storageAccountSasSecretName", + type: { + name: "String" + } + }, + serviceBusConnectionStringSecretName: { + readOnly: true, + serializedName: "serviceBusConnectionStringSecretName", + type: { + name: "String" + } + }, + targetLocation: { + readOnly: true, + serializedName: "targetLocation", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtTestMigrateInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: TestMigrateProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "TestMigrateProviderSpecificInput", + className: "VMwareCbtTestMigrateInput", + modelProperties: { + ...TestMigrateProviderSpecificInput.type.modelProperties, + recoveryPointId: { + required: true, + serializedName: "recoveryPointId", + type: { + name: "String" + } + }, + networkId: { + required: true, + serializedName: "networkId", + type: { + name: "String" + } + } + } + } +}; + +export const VMwareCbtUpdateMigrationItemInput: msRest.CompositeMapper = { + serializedName: "VMwareCbt", + type: { + name: "Composite", + polymorphicDiscriminator: UpdateMigrationItemProviderSpecificInput.type.polymorphicDiscriminator, + uberParent: "UpdateMigrationItemProviderSpecificInput", + className: "VMwareCbtUpdateMigrationItemInput", + modelProperties: { + ...UpdateMigrationItemProviderSpecificInput.type.modelProperties, + targetVmName: { + serializedName: "targetVmName", + type: { + name: "String" + } + }, + targetVmSize: { + serializedName: "targetVmSize", + type: { + name: "String" + } + }, + targetResourceGroupId: { + serializedName: "targetResourceGroupId", + type: { + name: "String" + } + }, + targetAvailabilitySetId: { + serializedName: "targetAvailabilitySetId", + type: { + name: "String" + } + }, + targetBootDiagnosticsStorageAccountId: { + serializedName: "targetBootDiagnosticsStorageAccountId", + type: { + name: "String" + } + }, + targetNetworkId: { + serializedName: "targetNetworkId", + type: { + name: "String" + } + }, + vmNics: { + serializedName: "vmNics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VMwareCbtNicInput" + } + } + } + }, + licenseType: { + serializedName: "licenseType", + type: { + name: "String" + } + } + } + } +}; + export const VMwareDetails: msRest.CompositeMapper = { serializedName: "VMware", type: { @@ -11674,14 +13437,16 @@ export const VMwareV2FabricCreationInput: msRest.CompositeMapper = { className: "VMwareV2FabricCreationInput", modelProperties: { ...FabricSpecificCreationInput.type.modelProperties, - keyVaultUrl: { - serializedName: "keyVaultUrl", + vmwareSiteId: { + required: true, + serializedName: "vmwareSiteId", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + migrationSolutionId: { + required: true, + serializedName: "migrationSolutionId", type: { name: "String" } @@ -11699,26 +13464,23 @@ export const VMwareV2FabricSpecificDetails: msRest.CompositeMapper = { className: "VMwareV2FabricSpecificDetails", modelProperties: { ...FabricSpecificDetails.type.modelProperties, - srsServiceEndpoint: { - serializedName: "srsServiceEndpoint", - type: { - name: "String" - } - }, - rcmServiceEndpoint: { - serializedName: "rcmServiceEndpoint", + vmwareSiteId: { + readOnly: true, + serializedName: "vmwareSiteId", type: { name: "String" } }, - keyVaultUrl: { - serializedName: "keyVaultUrl", + migrationSolutionId: { + readOnly: true, + serializedName: "migrationSolutionId", type: { name: "String" } }, - keyVaultResourceArmId: { - serializedName: "keyVaultResourceArmId", + serviceEndpoint: { + readOnly: true, + serializedName: "serviceEndpoint", type: { name: "String" } @@ -12036,6 +13798,62 @@ export const ProtectionContainerCollection: msRest.CompositeMapper = { } }; +export const MigrationItemCollection: msRest.CompositeMapper = { + serializedName: "MigrationItemCollection", + type: { + name: "Composite", + className: "MigrationItemCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MigrationItem" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const MigrationRecoveryPointCollection: msRest.CompositeMapper = { + serializedName: "MigrationRecoveryPointCollection", + type: { + name: "Composite", + className: "MigrationRecoveryPointCollection", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MigrationRecoveryPoint" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ProtectableItemCollection: msRest.CompositeMapper = { serializedName: "ProtectableItemCollection", type: { @@ -12373,6 +14191,7 @@ export const RecoveryPlanCollection: msRest.CompositeMapper = { }; export const discriminators = { + 'AddDisksProviderSpecificInput.A2A' : A2AAddDisksInput, 'ApplyRecoveryPointProviderSpecificInput.A2A' : A2AApplyRecoveryPointInput, 'ReplicationProviderSpecificContainerCreationInput.A2A' : A2AContainerCreationInput, 'ReplicationProviderSpecificContainerMappingInput.A2A' : A2AContainerMappingInput, @@ -12383,11 +14202,13 @@ export const discriminators = { 'PolicyProviderSpecificDetails.A2A' : A2APolicyDetails, 'ProtectionContainerMappingProviderSpecificDetails.A2A' : A2AProtectionContainerMappingDetails, 'ProviderSpecificRecoveryPointDetails.A2A' : A2ARecoveryPointDetails, + 'RemoveDisksProviderSpecificInput.A2A' : A2ARemoveDisksInput, 'ReplicationProviderSpecificSettings.A2A' : A2AReplicationDetails, 'ReverseReplicationProviderSpecificInput.A2A' : A2AReprotectInput, 'SwitchProtectionProviderSpecificInput.A2A' : A2ASwitchProtectionInput, 'ReplicationProviderSpecificUpdateContainerMappingInput.A2A' : A2AUpdateContainerMappingInput, 'UpdateReplicationProtectedItemProviderInput.A2A' : A2AUpdateReplicationProtectedItemInput, + 'AddDisksProviderSpecificInput' : AddDisksProviderSpecificInput, 'ApplyRecoveryPointProviderSpecificInput' : ApplyRecoveryPointProviderSpecificInput, 'JobDetails.AsrJobDetails' : AsrJobDetails, 'TaskTypeDetails' : TaskTypeDetails, @@ -12406,6 +14227,7 @@ export const discriminators = { 'ReplicationProviderSpecificContainerMappingInput' : ReplicationProviderSpecificContainerMappingInput, 'RecoveryPlanActionDetails' : RecoveryPlanActionDetails, 'DisableProtectionProviderSpecificInput' : DisableProtectionProviderSpecificInput, + 'EnableMigrationProviderSpecificInput' : EnableMigrationProviderSpecificInput, 'EnableProtectionProviderSpecificInput' : EnableProtectionProviderSpecificInput, 'EventProviderSpecificDetails' : EventProviderSpecificDetails, 'EventSpecificDetails' : EventSpecificDetails, @@ -12461,6 +14283,8 @@ export const discriminators = { 'EventSpecificDetails.JobStatus' : JobStatusEventDetails, 'TaskTypeDetails.JobTaskDetails' : JobTaskDetails, 'TaskTypeDetails.ManualActionTaskDetails' : ManualActionTaskDetails, + 'MigrateProviderSpecificInput' : MigrateProviderSpecificInput, + 'MigrationProviderSpecificSettings' : MigrationProviderSpecificSettings, 'NetworkMappingFabricSpecificSettings' : NetworkMappingFabricSpecificSettings, 'ProviderSpecificFailoverInput' : ProviderSpecificFailoverInput, 'PolicyProviderSpecificDetails' : PolicyProviderSpecificDetails, @@ -12478,6 +14302,7 @@ export const discriminators = { 'RecoveryPlanProviderSpecificFailoverInput' : RecoveryPlanProviderSpecificFailoverInput, 'RecoveryPlanActionDetails.ScriptActionDetails' : RecoveryPlanScriptActionDetails, 'GroupTaskDetails.RecoveryPlanShutdownGroupTaskDetails' : RecoveryPlanShutdownGroupTaskDetails, + 'RemoveDisksProviderSpecificInput' : RemoveDisksProviderSpecificInput, 'ConfigurationSettings.ReplicationGroupDetails' : ReplicationGroupDetails, 'ReplicationProviderSpecificSettings' : ReplicationProviderSpecificSettings, 'ReplicationProviderSpecificUpdateContainerMappingInput' : ReplicationProviderSpecificUpdateContainerMappingInput, @@ -12487,6 +14312,8 @@ export const discriminators = { 'SwitchProtectionProviderSpecificInput' : SwitchProtectionProviderSpecificInput, 'JobDetails.SwitchProtectionJobDetails' : SwitchProtectionJobDetails, 'JobDetails.TestFailoverJobDetails' : TestFailoverJobDetails, + 'TestMigrateProviderSpecificInput' : TestMigrateProviderSpecificInput, + 'UpdateMigrationItemProviderSpecificInput' : UpdateMigrationItemProviderSpecificInput, 'UpdateReplicationProtectedItemProviderInput' : UpdateReplicationProtectedItemProviderInput, 'TaskTypeDetails.VirtualMachineTaskDetails' : VirtualMachineTaskDetails, 'FabricSpecificDetails.VMM' : VmmDetails, @@ -12498,8 +14325,16 @@ export const discriminators = { 'FabricSpecificUpdateNetworkMappingInput.VmmToVmm' : VmmToVmmUpdateNetworkMappingInput, 'ConfigurationSettings.VmmVirtualMachine' : VmmVirtualMachineDetails, 'TaskTypeDetails.VmNicUpdatesTaskDetails' : VmNicUpdatesTaskDetails, + 'ReplicationProviderSpecificContainerCreationInput.6c7da455-506f-43ff-a16a-8eb101aebb70' : VMwareCbtContainerCreationInput, + 'ReplicationProviderSpecificContainerMappingInput.VMwareCbt' : VMwareCbtContainerMappingInput, + 'EnableMigrationProviderSpecificInput.VMwareCbt' : VMwareCbtEnableMigrationInput, + 'MigrateProviderSpecificInput.VMwareCbt' : VMwareCbtMigrateInput, + 'MigrationProviderSpecificSettings.VMwareCbt' : VMwareCbtMigrationDetails, 'PolicyProviderSpecificInput.VMwareCbt' : VMwareCbtPolicyCreationInput, 'PolicyProviderSpecificDetails.VMwareCbt' : VmwareCbtPolicyDetails, + 'ProtectionContainerMappingProviderSpecificDetails.VMwareCbt' : VMwareCbtProtectionContainerMappingDetails, + 'TestMigrateProviderSpecificInput.VMwareCbt' : VMwareCbtTestMigrateInput, + 'UpdateMigrationItemProviderSpecificInput.VMwareCbt' : VMwareCbtUpdateMigrationItemInput, 'FabricSpecificDetails.VMware' : VMwareDetails, 'FabricSpecificCreationInput.VMwareV2' : VMwareV2FabricCreationInput, 'FabricSpecificDetails.VMwareV2' : VMwareV2FabricSpecificDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/migrationRecoveryPointsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/migrationRecoveryPointsMappers.ts new file mode 100644 index 000000000000..05093509c55f --- /dev/null +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/migrationRecoveryPointsMappers.ts @@ -0,0 +1,184 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + MigrationRecoveryPointCollection, + MigrationRecoveryPoint, + Resource, + BaseResource, + MigrationRecoveryPointProperties, + CloudError, + Alert, + AlertProperties, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + HealthError, + InnerHealthError, + Fabric, + FabricProperties, + EncryptionDetails, + FabricSpecificDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaBaseEventDetails, + HyperVSiteDetails, + InMageAzureV2EventDetails, + Job, + JobProperties, + ASRTask, + TaskTypeDetails, + GroupTaskDetails, + JobErrorDetails, + ServiceError, + ProviderError, + JobDetails, + JobStatusEventDetails, + JobTaskDetails, + JobEntity, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + Network, + NetworkProperties, + Subnet, + NetworkMapping, + NetworkMappingProperties, + NetworkMappingFabricSpecificSettings, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProtectableItem, + ProtectableItemProperties, + ConfigurationSettings, + ProtectionContainer, + ProtectionContainerProperties, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + RcmAzureMigrationPolicyDetails, + RecoveryPlan, + RecoveryPlanProperties, + CurrentScenarioDetails, + RecoveryPlanGroup, + RecoveryPlanProtectedItem, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + ProviderSpecificRecoveryPointDetails, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + IdentityProviderDetails, + VersionDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ScriptActionTaskDetails, + StorageClassification, + StorageClassificationProperties, + StorageClassificationMapping, + StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, + SwitchProtectionJobDetails, + TestFailoverJobDetails, + FailoverReplicationProtectedItemDetails, + VaultHealthDetails, + VaultHealthProperties, + ResourceHealthSummary, + HealthErrorSummary, + VCenter, + VCenterProperties, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + OSDetails, + DiskDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + ProcessServer, + MobilityServiceUpdate, + MasterTargetServer, + RetentionVolume, + DataStore, + RunAsAccount, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails, + InMageDiskDetails, + DiskVolumeDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + VMNicDetails, + AzureToAzureVmSyncedConfigDetails, + InputEndpoint, + AsrJobDetails, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + ConsistencyCheckTaskDetails, + InconsistentVmDetails, + ExportJobDetails, + FabricReplicationGroupTaskDetails, + FailoverJobDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + AzureVmDiskDetails, + InitialReplicationDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVVirtualMachineDetails, + InlineWorkflowTaskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, + InMageBasePolicyDetails, + InMagePolicyDetails, + InMageReplicationDetails, + OSDiskDetails, + InMageProtectedDiskDetails, + InMageAgentDetails +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/parameters.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/parameters.ts index a7bf383ee3f7..8e0e59fd1eb1 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/parameters.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/parameters.ts @@ -40,6 +40,18 @@ export const apiVersion: msRest.OperationQueryParameter = { } } }; +export const deleteOption: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "deleteOption" + ], + mapper: { + serializedName: "deleteOption", + type: { + name: "String" + } + } +}; export const eventName: msRest.OperationURLParameter = { parameterPath: "eventName", mapper: { @@ -102,6 +114,26 @@ export const mappingName: msRest.OperationURLParameter = { } } }; +export const migrationItemName: msRest.OperationURLParameter = { + parameterPath: "migrationItemName", + mapper: { + required: true, + serializedName: "migrationItemName", + type: { + name: "String" + } + } +}; +export const migrationRecoveryPointName: msRest.OperationURLParameter = { + parameterPath: "migrationRecoveryPointName", + mapper: { + required: true, + serializedName: "migrationRecoveryPointName", + type: { + name: "String" + } + } +}; export const networkMappingName: msRest.OperationURLParameter = { parameterPath: "networkMappingName", mapper: { diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/recoveryPointsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/recoveryPointsMappers.ts index e30a369bf270..8a44680573d1 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/recoveryPointsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/recoveryPointsMappers.ts @@ -52,6 +52,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -85,7 +91,7 @@ export { RecoveryPlanShutdownGroupTaskDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -96,6 +102,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -113,7 +124,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -133,7 +148,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -159,6 +173,7 @@ export { InMageAzureV2PolicyDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationAlertSettingsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationAlertSettingsMappers.ts index 9dce3b118fae..f6b07570ecb5 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationAlertSettingsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationAlertSettingsMappers.ts @@ -49,6 +49,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -85,7 +91,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -96,6 +102,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -113,7 +124,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -134,7 +149,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -161,6 +175,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationEventsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationEventsMappers.ts index 968fb31ae230..6634bade1db5 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationEventsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationEventsMappers.ts @@ -48,6 +48,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -84,7 +90,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -95,6 +101,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -112,7 +123,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -132,7 +147,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -159,6 +173,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationFabricsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationFabricsMappers.ts index eda4dd1cd69e..a8bb0b10e2a7 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationFabricsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationFabricsMappers.ts @@ -56,6 +56,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -92,7 +98,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -103,6 +109,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -120,7 +131,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -142,7 +157,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -168,6 +182,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationJobsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationJobsMappers.ts index 4c9ce01a06ba..875608f90cc2 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationJobsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationJobsMappers.ts @@ -59,6 +59,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -95,7 +101,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -106,6 +112,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, VaultHealthDetails, @@ -122,7 +133,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -143,7 +158,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, @@ -162,6 +176,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationLogicalNetworksMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationLogicalNetworksMappers.ts index 6a85fc7ad5b1..d50573a3f8d0 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationLogicalNetworksMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationLogicalNetworksMappers.ts @@ -47,6 +47,12 @@ export { JobTaskDetails, JobEntity, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -83,7 +89,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -94,6 +100,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -111,7 +122,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -132,7 +147,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -159,6 +173,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationMigrationItemsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationMigrationItemsMappers.ts new file mode 100644 index 000000000000..a76f11d31345 --- /dev/null +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationMigrationItemsMappers.ts @@ -0,0 +1,204 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + MigrationItemCollection, + MigrationItem, + Resource, + BaseResource, + MigrationItemProperties, + HealthError, + InnerHealthError, + CurrentJobDetails, + MigrationProviderSpecificSettings, + CloudError, + EnableMigrationInput, + EnableMigrationInputProperties, + EnableMigrationProviderSpecificInput, + UpdateMigrationItemInput, + UpdateMigrationItemInputProperties, + UpdateMigrationItemProviderSpecificInput, + MigrateInput, + MigrateInputProperties, + MigrateProviderSpecificInput, + TestMigrateInput, + TestMigrateInputProperties, + TestMigrateProviderSpecificInput, + TestMigrateCleanupInput, + TestMigrateCleanupInputProperties, + Alert, + AlertProperties, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + Fabric, + FabricProperties, + EncryptionDetails, + FabricSpecificDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaBaseEventDetails, + HyperVSiteDetails, + InMageAzureV2EventDetails, + Job, + JobProperties, + ASRTask, + TaskTypeDetails, + GroupTaskDetails, + JobErrorDetails, + ServiceError, + ProviderError, + JobDetails, + JobStatusEventDetails, + JobTaskDetails, + JobEntity, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + Network, + NetworkProperties, + Subnet, + NetworkMapping, + NetworkMappingProperties, + NetworkMappingFabricSpecificSettings, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProtectableItem, + ProtectableItemProperties, + ConfigurationSettings, + ProtectionContainer, + ProtectionContainerProperties, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + RcmAzureMigrationPolicyDetails, + RecoveryPlan, + RecoveryPlanProperties, + CurrentScenarioDetails, + RecoveryPlanGroup, + RecoveryPlanProtectedItem, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + ProviderSpecificRecoveryPointDetails, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + IdentityProviderDetails, + VersionDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ScriptActionTaskDetails, + StorageClassification, + StorageClassificationProperties, + StorageClassificationMapping, + StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, + SwitchProtectionJobDetails, + TestFailoverJobDetails, + FailoverReplicationProtectedItemDetails, + VaultHealthDetails, + VaultHealthProperties, + ResourceHealthSummary, + HealthErrorSummary, + VCenter, + VCenterProperties, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + OSDetails, + DiskDetails, + VmNicUpdatesTaskDetails, + VMwareCbtEnableMigrationInput, + VMwareCbtDiskInput, + VMwareCbtMigrateInput, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareCbtTestMigrateInput, + VMwareCbtUpdateMigrationItemInput, + VMwareCbtNicInput, + VMwareDetails, + ProcessServer, + MobilityServiceUpdate, + MasterTargetServer, + RetentionVolume, + DataStore, + RunAsAccount, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails, + InMageDiskDetails, + DiskVolumeDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + VMNicDetails, + AzureToAzureVmSyncedConfigDetails, + InputEndpoint, + AsrJobDetails, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + ConsistencyCheckTaskDetails, + InconsistentVmDetails, + ExportJobDetails, + FabricReplicationGroupTaskDetails, + FailoverJobDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + AzureVmDiskDetails, + InitialReplicationDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVVirtualMachineDetails, + InlineWorkflowTaskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, + InMageBasePolicyDetails, + InMagePolicyDetails, + InMageReplicationDetails, + OSDiskDetails, + InMageProtectedDiskDetails, + InMageAgentDetails +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworkMappingsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworkMappingsMappers.ts index 11655d1ad2bc..ac1274f3ec7a 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworkMappingsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworkMappingsMappers.ts @@ -59,6 +59,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -92,7 +98,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -103,6 +109,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -124,7 +135,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -145,7 +160,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -171,6 +185,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworksMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworksMappers.ts index 07da42c72cfb..74d9782e3cfb 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworksMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationNetworksMappers.ts @@ -50,6 +50,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, NetworkMapping, NetworkMappingProperties, NetworkMappingFabricSpecificSettings, @@ -83,7 +89,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -94,6 +100,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -111,7 +122,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -132,7 +147,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -159,6 +173,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationPoliciesMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationPoliciesMappers.ts index a524c39491c2..62f96dc2113a 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationPoliciesMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationPoliciesMappers.ts @@ -69,6 +69,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -102,7 +108,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -113,6 +119,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -130,8 +141,12 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VMwareCbtPolicyCreationInput, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -151,7 +166,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -173,6 +187,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectableItemsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectableItemsMappers.ts index b12ec224ec54..091e3b614ec3 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectableItemsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectableItemsMappers.ts @@ -53,6 +53,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -86,7 +92,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -97,6 +103,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -112,7 +123,11 @@ export { VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -133,7 +148,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -159,6 +173,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectedItemsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectedItemsMappers.ts index 9fb7bd5bfa83..159838f6cefd 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectedItemsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectedItemsMappers.ts @@ -27,6 +27,9 @@ export { UpdateReplicationProtectedItemInputProperties, VMNicInputDetails, UpdateReplicationProtectedItemProviderInput, + AddDisksInput, + AddDisksInputProperties, + AddDisksProviderSpecificInput, ApplyRecoveryPointInput, ApplyRecoveryPointInputProperties, ApplyRecoveryPointProviderSpecificInput, @@ -36,9 +39,15 @@ export { DisableProtectionInput, DisableProtectionInputProperties, DisableProtectionProviderSpecificInput, + RemoveDisksInput, + RemoveDisksInputProperties, + RemoveDisksProviderSpecificInput, ReverseReplicationInput, ReverseReplicationInputProperties, ReverseReplicationProviderSpecificInput, + ResolveHealthInput, + ResolveHealthInputProperties, + ResolveHealthError, TestFailoverInput, TestFailoverInputProperties, TestFailoverCleanupInput, @@ -47,20 +56,21 @@ export { UnplannedFailoverInputProperties, UpdateMobilityServiceRequest, UpdateMobilityServiceRequestProperties, - A2AApplyRecoveryPointInput, - A2AEnableProtectionInput, + A2AAddDisksInput, A2AVmDiskInputDetails, A2AVmManagedDiskInputDetails, + A2AApplyRecoveryPointInput, + A2AEnableProtectionInput, DiskEncryptionInfo, DiskEncryptionKeyInfo, KeyEncryptionKeyInfo, A2AFailoverProviderInput, + A2ARemoveDisksInput, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, A2AReprotectInput, A2AUpdateReplicationProtectedItemInput, @@ -96,10 +106,12 @@ export { HyperVSiteDetails, InMageAzureV2ApplyRecoveryPointInput, InMageAzureV2EnableProtectionInput, + InMageAzureV2DiskInputDetails, InMageAzureV2EventDetails, InMageAzureV2FailoverProviderInput, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageAzureV2ReprotectInput, InMageAzureV2UpdateReplicationProtectedItemInput, InMageDisableProtectionProviderSpecificInput, @@ -128,6 +140,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -163,7 +181,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, SanEnableProtectionInput, @@ -172,6 +190,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -187,7 +210,11 @@ export { VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainerMappingsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainerMappingsMappers.ts index 0d6ad5eff961..123406c09c22 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainerMappingsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainerMappingsMappers.ts @@ -62,6 +62,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -95,7 +101,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -106,6 +112,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -123,7 +134,12 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtContainerMappingInput, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -143,7 +159,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -170,6 +185,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainersMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainersMappers.ts index dd8441a0c5f2..d0aba3152731 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainersMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationProtectionContainersMappers.ts @@ -65,6 +65,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -98,7 +104,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -109,6 +115,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -126,7 +137,12 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtContainerCreationInput, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -147,7 +163,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -174,6 +189,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryPlansMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryPlansMappers.ts index 083318f00636..81af383ab85d 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryPlansMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryPlansMappers.ts @@ -67,6 +67,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -101,7 +107,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -112,6 +118,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -129,7 +140,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -150,7 +165,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -177,6 +191,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryServicesProvidersMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryServicesProvidersMappers.ts index 261676593e7f..ee9d7285e984 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryServicesProvidersMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationRecoveryServicesProvidersMappers.ts @@ -17,9 +17,12 @@ export { RecoveryServicesProviderProperties, HealthError, InnerHealthError, - IdentityInformation, + IdentityProviderDetails, VersionDetails, CloudError, + AddRecoveryServicesProviderInput, + AddRecoveryServicesProviderInputProperties, + IdentityProviderInput, Alert, AlertProperties, Event, @@ -51,6 +54,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -94,6 +103,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -111,7 +125,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -132,7 +150,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -159,6 +176,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationMappingsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationMappingsMappers.ts index d5b74ec1fea5..e76eee34e7ea 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationMappingsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationMappingsMappers.ts @@ -51,6 +51,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -87,7 +93,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -96,6 +102,11 @@ export { ScriptActionTaskDetails, StorageClassification, StorageClassificationProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -113,7 +124,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -134,7 +149,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -161,6 +175,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationsMappers.ts index a9cacac31c2f..8ad4511f4b79 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationsMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationStorageClassificationsMappers.ts @@ -49,6 +49,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -85,7 +91,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -94,6 +100,11 @@ export { ScriptActionTaskDetails, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -111,7 +122,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -132,7 +147,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -159,6 +173,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationVaultHealthMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationVaultHealthMappers.ts index 7885552c73a6..9c3e973b6a8c 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationVaultHealthMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationVaultHealthMappers.ts @@ -50,6 +50,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -86,7 +92,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -97,6 +103,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -110,7 +121,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -131,7 +146,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -158,6 +172,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationvCentersMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationvCentersMappers.ts index c3861efe7369..e64f45380a41 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationvCentersMappers.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/replicationvCentersMappers.ts @@ -53,6 +53,12 @@ export { LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, Network, NetworkProperties, Subnet, @@ -89,7 +95,7 @@ export { ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, - IdentityInformation, + IdentityProviderDetails, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, @@ -100,6 +106,11 @@ export { StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, + SupportedOperatingSystems, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, @@ -115,7 +126,11 @@ export { OSDetails, DiskDetails, VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, @@ -136,7 +151,6 @@ export { A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, - RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, @@ -163,6 +177,7 @@ export { InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/models/supportedOperatingSystemsOperationsMappers.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/supportedOperatingSystemsOperationsMappers.ts new file mode 100644 index 000000000000..be530d03eff4 --- /dev/null +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/models/supportedOperatingSystemsOperationsMappers.ts @@ -0,0 +1,183 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + SupportedOperatingSystems, + Resource, + BaseResource, + SupportedOSProperties, + SupportedOSProperty, + SupportedOSDetails, + OSVersionWrapper, + CloudError, + Alert, + AlertProperties, + Event, + EventProperties, + EventProviderSpecificDetails, + EventSpecificDetails, + HealthError, + InnerHealthError, + Fabric, + FabricProperties, + EncryptionDetails, + FabricSpecificDetails, + HyperVReplica2012EventDetails, + HyperVReplica2012R2EventDetails, + HyperVReplicaAzureEventDetails, + HyperVReplicaBaseEventDetails, + HyperVSiteDetails, + InMageAzureV2EventDetails, + Job, + JobProperties, + ASRTask, + TaskTypeDetails, + GroupTaskDetails, + JobErrorDetails, + ServiceError, + ProviderError, + JobDetails, + JobStatusEventDetails, + JobTaskDetails, + JobEntity, + LogicalNetwork, + LogicalNetworkProperties, + ManualActionTaskDetails, + MigrationItem, + MigrationItemProperties, + CurrentJobDetails, + MigrationProviderSpecificSettings, + MigrationRecoveryPoint, + MigrationRecoveryPointProperties, + Network, + NetworkProperties, + Subnet, + NetworkMapping, + NetworkMappingProperties, + NetworkMappingFabricSpecificSettings, + Policy, + PolicyProperties, + PolicyProviderSpecificDetails, + ProtectableItem, + ProtectableItemProperties, + ConfigurationSettings, + ProtectionContainer, + ProtectionContainerProperties, + ProtectionContainerFabricSpecificDetails, + ProtectionContainerMapping, + ProtectionContainerMappingProperties, + ProtectionContainerMappingProviderSpecificDetails, + RcmAzureMigrationPolicyDetails, + RecoveryPlan, + RecoveryPlanProperties, + CurrentScenarioDetails, + RecoveryPlanGroup, + RecoveryPlanProtectedItem, + RecoveryPlanAction, + RecoveryPlanActionDetails, + RecoveryPlanAutomationRunbookActionDetails, + RecoveryPlanGroupTaskDetails, + RecoveryPlanManualActionDetails, + RecoveryPlanScriptActionDetails, + RecoveryPlanShutdownGroupTaskDetails, + RecoveryPoint, + RecoveryPointProperties, + ProviderSpecificRecoveryPointDetails, + RecoveryServicesProvider, + RecoveryServicesProviderProperties, + IdentityProviderDetails, + VersionDetails, + ReplicationGroupDetails, + ReplicationProtectedItem, + ReplicationProtectedItemProperties, + ReplicationProviderSpecificSettings, + ScriptActionTaskDetails, + StorageClassification, + StorageClassificationProperties, + StorageClassificationMapping, + StorageClassificationMappingProperties, + SwitchProtectionJobDetails, + TestFailoverJobDetails, + FailoverReplicationProtectedItemDetails, + VaultHealthDetails, + VaultHealthProperties, + ResourceHealthSummary, + HealthErrorSummary, + VCenter, + VCenterProperties, + VirtualMachineTaskDetails, + VmmDetails, + VmmToAzureNetworkMappingSettings, + VmmToVmmNetworkMappingSettings, + VmmVirtualMachineDetails, + OSDetails, + DiskDetails, + VmNicUpdatesTaskDetails, + VMwareCbtMigrationDetails, + VMwareCbtProtectedDiskDetails, + VMwareCbtNicDetails, + VmwareCbtPolicyDetails, + VMwareCbtProtectionContainerMappingDetails, + VMwareDetails, + ProcessServer, + MobilityServiceUpdate, + MasterTargetServer, + RetentionVolume, + DataStore, + RunAsAccount, + VMwareV2FabricSpecificDetails, + VMwareVirtualMachineDetails, + InMageDiskDetails, + DiskVolumeDetails, + A2AEventDetails, + A2APolicyDetails, + A2AProtectionContainerMappingDetails, + A2ARecoveryPointDetails, + A2AReplicationDetails, + A2AProtectedDiskDetails, + A2AProtectedManagedDiskDetails, + VMNicDetails, + AzureToAzureVmSyncedConfigDetails, + InputEndpoint, + AsrJobDetails, + AutomationRunbookTaskDetails, + AzureFabricSpecificDetails, + AzureToAzureNetworkMappingSettings, + ConsistencyCheckTaskDetails, + InconsistentVmDetails, + ExportJobDetails, + FabricReplicationGroupTaskDetails, + FailoverJobDetails, + HyperVReplicaAzurePolicyDetails, + HyperVReplicaAzureReplicationDetails, + AzureVmDiskDetails, + InitialReplicationDetails, + HyperVReplicaBasePolicyDetails, + HyperVReplicaBaseReplicationDetails, + HyperVReplicaBluePolicyDetails, + HyperVReplicaBlueReplicationDetails, + HyperVReplicaPolicyDetails, + HyperVReplicaReplicationDetails, + HyperVVirtualMachineDetails, + InlineWorkflowTaskDetails, + InMageAzureV2PolicyDetails, + InMageAzureV2RecoveryPointDetails, + InMageAzureV2ReplicationDetails, + InMageAzureV2ProtectedDiskDetails, + InMageAzureV2ManagedDiskDetails, + InMageBasePolicyDetails, + InMagePolicyDetails, + InMageReplicationDetails, + OSDiskDetails, + InMageProtectedDiskDetails, + InMageAgentDetails +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/index.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/index.ts index 15dfbb40976d..d92160c696e6 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/index.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/index.ts @@ -16,6 +16,8 @@ export * from "./replicationLogicalNetworks"; export * from "./replicationNetworks"; export * from "./replicationNetworkMappings"; export * from "./replicationProtectionContainers"; +export * from "./replicationMigrationItems"; +export * from "./migrationRecoveryPoints"; export * from "./replicationProtectableItems"; export * from "./replicationProtectedItems"; export * from "./recoveryPoints"; @@ -28,4 +30,5 @@ export * from "./replicationvCenters"; export * from "./replicationJobs"; export * from "./replicationPolicies"; export * from "./replicationRecoveryPlans"; +export * from "./supportedOperatingSystemsOperations"; export * from "./replicationVaultHealth"; diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/migrationRecoveryPoints.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/migrationRecoveryPoints.ts new file mode 100644 index 000000000000..b0239f2939bc --- /dev/null +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/migrationRecoveryPoints.ts @@ -0,0 +1,212 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/migrationRecoveryPointsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a MigrationRecoveryPoints. */ +export class MigrationRecoveryPoints { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a MigrationRecoveryPoints. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * @summary Gets the recovery points for a migration item. + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param callback The callback + */ + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationMigrationItems(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + listByReplicationMigrationItemsOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets a recovery point for a migration item. + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrationRecoveryPointName The migration recovery point name. + * @param [options] The optional parameters + * @returns Promise + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrationRecoveryPointName The migration recovery point name. + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrationRecoveryPointName The migration recovery point name. + * @param options The optional parameters + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(fabricName: string, protectionContainerName: string, migrationItemName: string, migrationRecoveryPointName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + migrationItemName, + migrationRecoveryPointName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the recovery points for a migration item. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByReplicationMigrationItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByReplicationMigrationItemsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationMigrationItemsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationMigrationItemsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByReplicationMigrationItemsNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByReplicationMigrationItemsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationRecoveryPointCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrationRecoveryPoints/{migrationRecoveryPointName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName, + Parameters.migrationRecoveryPointName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationRecoveryPoint + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByReplicationMigrationItemsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationRecoveryPointCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.ts index fb2ac84965b2..ecf20a14e699 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationJobs.ts @@ -84,7 +84,7 @@ export class ReplicationJobs { /** * The operation to cancel an Azure Site Recovery job. * @summary Cancels the specified job. - * @param jobName Job indentifier. + * @param jobName Job identifier. * @param [options] The optional parameters * @returns Promise */ @@ -133,7 +133,7 @@ export class ReplicationJobs { /** * The operation to cancel an Azure Site Recovery job. * @summary Cancels the specified job. - * @param jobName Job indentifier. + * @param jobName Job identifier. * @param [options] The optional parameters * @returns Promise */ diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationMigrationItems.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationMigrationItems.ts new file mode 100644 index 000000000000..586e45b8d8c0 --- /dev/null +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationMigrationItems.ts @@ -0,0 +1,739 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/replicationMigrationItemsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a ReplicationMigrationItems. */ +export class ReplicationMigrationItems { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a ReplicationMigrationItems. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * Gets the list of ASR migration items in the protection container. + * @summary Gets the list of migration items in the protection container. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param [options] The optional parameters + * @returns Promise + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param callback The callback + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + options + }, + listByReplicationProtectionContainersOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the details of a migration item. + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, callback: msRest.ServiceCallback): void; + /** + * @param fabricName Fabric unique name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param options The optional parameters + * @param callback The callback + */ + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * The operation to create an ASR migration item (enable migration). + * @summary Enables migration. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Enable migration input. + * @param [options] The optional parameters + * @returns Promise + */ + create(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.EnableMigrationInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(fabricName,protectionContainerName,migrationItemName,input,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to delete an ASR migration item. + * @summary Delete the migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: Models.ReplicationMigrationItemsDeleteMethodOptionalParams): Promise { + return this.beginDeleteMethod(fabricName,protectionContainerName,migrationItemName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * The operation to update the recovery settings of an ASR migration item. + * @summary Updates migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Update migration item input. + * @param [options] The optional parameters + * @returns Promise + */ + update(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.UpdateMigrationItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(fabricName,protectionContainerName,migrationItemName,input,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate migration of the item. + * @summary Migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrateInput Migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + migrate(fabricName: string, protectionContainerName: string, migrationItemName: string, migrateInput: Models.MigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrate(fabricName,protectionContainerName,migrationItemName,migrateInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate test migration of the item. + * @summary Test migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateInput Test migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + testMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateInput: Models.TestMigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginTestMigrate(fabricName,protectionContainerName,migrationItemName,testMigrateInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * The operation to initiate test migrate cleanup. + * @summary Test migrate cleanup. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateCleanupInput Test migrate cleanup input. + * @param [options] The optional parameters + * @returns Promise + */ + testMigrateCleanup(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateCleanupInput: Models.TestMigrateCleanupInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginTestMigrateCleanup(fabricName,protectionContainerName,migrationItemName,testMigrateCleanupInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Gets the list of migration items in the vault. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: Models.ReplicationMigrationItemsListOptionalParams): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: Models.ReplicationMigrationItemsListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.ReplicationMigrationItemsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * The operation to create an ASR migration item (enable migration). + * @summary Enables migration. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Enable migration input. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.EnableMigrationInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + input, + options + }, + beginCreateOperationSpec, + options); + } + + /** + * The operation to delete an ASR migration item. + * @summary Delete the migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(fabricName: string, protectionContainerName: string, migrationItemName: string, options?: Models.ReplicationMigrationItemsBeginDeleteMethodOptionalParams): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * The operation to update the recovery settings of an ASR migration item. + * @summary Updates migration item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param input Update migration item input. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(fabricName: string, protectionContainerName: string, migrationItemName: string, input: Models.UpdateMigrationItemInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + input, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * The operation to initiate migration of the item. + * @summary Migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param migrateInput Migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + beginMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, migrateInput: Models.MigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + migrateInput, + options + }, + beginMigrateOperationSpec, + options); + } + + /** + * The operation to initiate test migration of the item. + * @summary Test migrate item. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateInput Test migrate input. + * @param [options] The optional parameters + * @returns Promise + */ + beginTestMigrate(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateInput: Models.TestMigrateInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + testMigrateInput, + options + }, + beginTestMigrateOperationSpec, + options); + } + + /** + * The operation to initiate test migrate cleanup. + * @summary Test migrate cleanup. + * @param fabricName Fabric name. + * @param protectionContainerName Protection container name. + * @param migrationItemName Migration item name. + * @param testMigrateCleanupInput Test migrate cleanup input. + * @param [options] The optional parameters + * @returns Promise + */ + beginTestMigrateCleanup(fabricName: string, protectionContainerName: string, migrationItemName: string, testMigrateCleanupInput: Models.TestMigrateCleanupInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + migrationItemName, + testMigrateCleanupInput, + options + }, + beginTestMigrateCleanupOperationSpec, + options); + } + + /** + * Gets the list of ASR migration items in the protection container. + * @summary Gets the list of migration items in the protection container. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByReplicationProtectionContainersNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByReplicationProtectionContainersNextOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the list of migration items in the vault. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.EnableMigrationInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.deleteOption + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "input", + mapper: { + ...Mappers.UpdateMigrationItemInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginMigrateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrate", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "migrateInput", + mapper: { + ...Mappers.MigrateInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginTestMigrateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "testMigrateInput", + mapper: { + ...Mappers.TestMigrateInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginTestMigrateCleanupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrateCleanup", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.migrationItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "testMigrateCleanupInput", + mapper: { + ...Mappers.TestMigrateCleanupInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.MigrationItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.MigrationItemCollection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.ts index 8d142df82139..26956fae9751 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationProtectedItems.ts @@ -143,6 +143,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Operation to add disks(s) to the replication protected item. + * @summary Add disk(s) for protection. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param addDisksInput Add disks input. + * @param [options] The optional parameters + * @returns Promise + */ + addDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, addDisksInput: Models.AddDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginAddDisks(fabricName,protectionContainerName,replicatedProtectedItemName,addDisksInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to change the recovery point of a failed over replication protected item. * @summary Change or apply recovery point. @@ -203,6 +218,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * Operation to remove disk(s) from the replication protected item. + * @summary Removes disk(s). + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param removeDisksInput Remove disks input. + * @param [options] The optional parameters + * @returns Promise + */ + removeDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, removeDisksInput: Models.RemoveDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginRemoveDisks(fabricName,protectionContainerName,replicatedProtectedItemName,removeDisksInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to start resynchronize/repair replication for a replication protected item * requiring resynchronization. @@ -233,6 +263,21 @@ export class ReplicationProtectedItems { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Operation to resolve health issues of the replication protected item. + * @summary Resolve health errors. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param resolveHealthInput Health issue input object. + * @param [options] The optional parameters + * @returns Promise + */ + resolveHealthErrors(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, resolveHealthInput: Models.ResolveHealthInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginResolveHealthErrors(fabricName,protectionContainerName,replicatedProtectedItemName,resolveHealthInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Operation to perform a test failover of the replication protected item. * @summary Execute test failover @@ -390,6 +435,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to add disks(s) to the replication protected item. + * @summary Add disk(s) for protection. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param addDisksInput Add disks input. + * @param [options] The optional parameters + * @returns Promise + */ + beginAddDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, addDisksInput: Models.AddDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + addDisksInput, + options + }, + beginAddDisksOperationSpec, + options); + } + /** * The operation to change the recovery point of a failed over replication protected item. * @summary Change or apply recovery point. @@ -481,6 +549,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to remove disk(s) from the replication protected item. + * @summary Removes disk(s). + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param removeDisksInput Remove disks input. + * @param [options] The optional parameters + * @returns Promise + */ + beginRemoveDisks(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, removeDisksInput: Models.RemoveDisksInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + removeDisksInput, + options + }, + beginRemoveDisksOperationSpec, + options); + } + /** * The operation to start resynchronize/repair replication for a replication protected item * requiring resynchronization. @@ -526,6 +617,29 @@ export class ReplicationProtectedItems { options); } + /** + * Operation to resolve health issues of the replication protected item. + * @summary Resolve health errors. + * @param fabricName Unique fabric name. + * @param protectionContainerName Protection container name. + * @param replicatedProtectedItemName Replication protected item name. + * @param resolveHealthInput Health issue input object. + * @param [options] The optional parameters + * @returns Promise + */ + beginResolveHealthErrors(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, resolveHealthInput: Models.ResolveHealthInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + protectionContainerName, + replicatedProtectedItemName, + resolveHealthInput, + options + }, + beginResolveHealthErrorsOperationSpec, + options); + } + /** * Operation to perform a test failover of the replication protected item. * @summary Execute test failover @@ -864,6 +978,42 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginAddDisksOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "addDisksInput", + mapper: { + ...Mappers.AddDisksInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginApplyRecoveryPointOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint", @@ -999,6 +1149,42 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const beginRemoveDisksOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "removeDisksInput", + mapper: { + ...Mappers.RemoveDisksInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginRepairReplicationOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication", @@ -1064,6 +1250,42 @@ const beginReprotectOperationSpec: msRest.OperationSpec = { serializer }; +const beginResolveHealthErrorsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/ResolveHealthErrors", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.protectionContainerName, + Parameters.replicatedProtectedItemName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "resolveHealthInput", + mapper: { + ...Mappers.ResolveHealthInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ReplicationProtectedItem + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginTestFailoverOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover", diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.ts index 804dbd4a710c..bba4b6593f65 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationRecoveryServicesProviders.ts @@ -89,6 +89,20 @@ export class ReplicationRecoveryServicesProviders { callback) as Promise; } + /** + * The operation to add a recovery services provider. + * @summary Adds a recovery services provider. + * @param fabricName Fabric name. + * @param providerName Recovery services provider name. + * @param addProviderInput Add provider input. + * @param [options] The optional parameters + * @returns Promise + */ + create(fabricName: string, providerName: string, addProviderInput: Models.AddRecoveryServicesProviderInput, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(fabricName,providerName,addProviderInput,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * The operation to purge(force delete) a recovery services provider from the vault. * @summary Purges recovery service provider from fabric @@ -157,6 +171,27 @@ export class ReplicationRecoveryServicesProviders { callback) as Promise; } + /** + * The operation to add a recovery services provider. + * @summary Adds a recovery services provider. + * @param fabricName Fabric name. + * @param providerName Recovery services provider name. + * @param addProviderInput Add provider input. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(fabricName: string, providerName: string, addProviderInput: Models.AddRecoveryServicesProviderInput, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + fabricName, + providerName, + addProviderInput, + options + }, + beginCreateOperationSpec, + options); + } + /** * The operation to purge(force delete) a recovery services provider from the vault. * @summary Purges recovery service provider from fabric @@ -358,6 +393,41 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.providerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "addProviderInput", + mapper: { + ...Mappers.AddRecoveryServicesProviderInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RecoveryServicesProvider + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginPurgeOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}", diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.ts index e2e925e8f5e4..e49dfbd970fe 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationStorageClassificationMappings.ts @@ -31,7 +31,7 @@ export class ReplicationStorageClassificationMappings { * Lists the storage classification mappings for the fabric. * @summary Gets the list of storage classification mappings objects under a storage. * @param fabricName Fabric name. - * @param storageClassificationName Storage classfication name. + * @param storageClassificationName Storage classification name. * @param [options] The optional parameters * @returns * Promise @@ -39,13 +39,13 @@ export class ReplicationStorageClassificationMappings { listByReplicationStorageClassifications(fabricName: string, storageClassificationName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param fabricName Fabric name. - * @param storageClassificationName Storage classfication name. + * @param storageClassificationName Storage classification name. * @param callback The callback */ listByReplicationStorageClassifications(fabricName: string, storageClassificationName: string, callback: msRest.ServiceCallback): void; /** * @param fabricName Fabric name. - * @param storageClassificationName Storage classfication name. + * @param storageClassificationName Storage classification name. * @param options The optional parameters * @param callback The callback */ diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.ts index ea2de6343fbc..5c9d8831e527 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/replicationvCenters.ts @@ -120,7 +120,7 @@ export class ReplicationvCenters { * The operation to update a registered vCenter. * @summary Update vCenter operation. * @param fabricName Fabric name. - * @param vCenterName vCeneter name + * @param vCenterName vCenter name * @param updateVCenterRequest The input to the update vCenter operation. * @param [options] The optional parameters * @returns Promise @@ -199,7 +199,7 @@ export class ReplicationvCenters { * The operation to update a registered vCenter. * @summary Update vCenter operation. * @param fabricName Fabric name. - * @param vCenterName vCeneter name + * @param vCenterName vCenter name * @param updateVCenterRequest The input to the update vCenter operation. * @param [options] The optional parameters * @returns Promise diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/supportedOperatingSystemsOperations.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/supportedOperatingSystemsOperations.ts new file mode 100644 index 000000000000..a98983b3de4c --- /dev/null +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/operations/supportedOperatingSystemsOperations.ts @@ -0,0 +1,79 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/supportedOperatingSystemsOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext"; + +/** Class representing a SupportedOperatingSystemsOperations. */ +export class SupportedOperatingSystemsOperations { + private readonly client: SiteRecoveryManagementClientContext; + + /** + * Create a SupportedOperatingSystemsOperations. + * @param {SiteRecoveryManagementClientContext} client Reference to the service client. + */ + constructor(client: SiteRecoveryManagementClientContext) { + this.client = client; + } + + /** + * @summary Gets the data of supported OSes by SRS. + * @param [options] The optional parameters + * @returns Promise + */ + get(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + get(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems", + urlParameters: [ + Parameters.resourceName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SupportedOperatingSystems + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.ts index 8bfa137ac28f..2d62ab998543 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClient.ts @@ -25,6 +25,8 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { replicationNetworks: operations.ReplicationNetworks; replicationNetworkMappings: operations.ReplicationNetworkMappings; replicationProtectionContainers: operations.ReplicationProtectionContainers; + replicationMigrationItems: operations.ReplicationMigrationItems; + migrationRecoveryPoints: operations.MigrationRecoveryPoints; replicationProtectableItems: operations.ReplicationProtectableItems; replicationProtectedItems: operations.ReplicationProtectedItems; recoveryPoints: operations.RecoveryPoints; @@ -37,6 +39,7 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { replicationJobs: operations.ReplicationJobs; replicationPolicies: operations.ReplicationPolicies; replicationRecoveryPlans: operations.ReplicationRecoveryPlans; + supportedOperatingSystems: operations.SupportedOperatingSystemsOperations; replicationVaultHealth: operations.ReplicationVaultHealth; /** @@ -58,6 +61,8 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { this.replicationNetworks = new operations.ReplicationNetworks(this); this.replicationNetworkMappings = new operations.ReplicationNetworkMappings(this); this.replicationProtectionContainers = new operations.ReplicationProtectionContainers(this); + this.replicationMigrationItems = new operations.ReplicationMigrationItems(this); + this.migrationRecoveryPoints = new operations.MigrationRecoveryPoints(this); this.replicationProtectableItems = new operations.ReplicationProtectableItems(this); this.replicationProtectedItems = new operations.ReplicationProtectedItems(this); this.recoveryPoints = new operations.RecoveryPoints(this); @@ -70,6 +75,7 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { this.replicationJobs = new operations.ReplicationJobs(this); this.replicationPolicies = new operations.ReplicationPolicies(this); this.replicationRecoveryPlans = new operations.ReplicationRecoveryPlans(this); + this.supportedOperatingSystems = new operations.SupportedOperatingSystemsOperations(this); this.replicationVaultHealth = new operations.ReplicationVaultHealth(this); } } diff --git a/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts index 23d375cb660f..b65ae15c27a7 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts +++ b/packages/@azure/arm-recoveryservices-siterecovery/lib/siteRecoveryManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-recoveryservices-siterecovery"; -const packageVersion = "0.1.0"; +const packageVersion = "3.2.0"; export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; @@ -55,7 +55,7 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic super(credentials, options); - this.apiVersion = '2018-01-10'; + this.apiVersion = '2018-07-10'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/packages/@azure/arm-recoveryservices-siterecovery/package.json b/packages/@azure/arm-recoveryservices-siterecovery/package.json index a6fa12d4287c..9d086fdafa06 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/package.json +++ b/packages/@azure/arm-recoveryservices-siterecovery/package.json @@ -4,8 +4,8 @@ "description": "SiteRecoveryManagementClient Library with typescript type definitions for node.js and browser.", "version": "3.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.2.0", + "@azure/ms-rest-js": "^1.2.0", "tslib": "^1.9.3" }, "keywords": [ @@ -23,6 +23,7 @@ "typescript": "^3.1.1", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", + "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/arm-recoveryservices-siterecovery", @@ -51,6 +52,5 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-recoveryservices-siterecovery.js.map'\" -o ./dist/arm-recoveryservices-siterecovery.min.js ./dist/arm-recoveryservices-siterecovery.js", "prepack": "npm install && npm run build" }, - "sideEffects": false, - "authPublish": true + "sideEffects": false } diff --git a/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js b/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js index 9c289477ee2a..5df849471e97 100644 --- a/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js +++ b/packages/@azure/arm-recoveryservices-siterecovery/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/siteRecoveryManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/siteRecoveryManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-recoveryservices-siterecovery.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ module: true }), + sourcemaps() ] }; + export default config;