diff --git a/packages/@azure/arm-recoveryservices-siterecovery/.npmignore b/packages/@azure/arm-recoveryservices-siterecovery/.npmignore
new file mode 100644
index 000000000000..a07a455ac10c
--- /dev/null
+++ b/packages/@azure/arm-recoveryservices-siterecovery/.npmignore
@@ -0,0 +1,35 @@
+#git
+.git
+.gitignore
+#gulp
+gulpfile.js
+#documentation
+doc/
+docs/
+#dependencies
+node_modules/
+#samples
+sample/
+samples/
+#tests
+test/
+tests/
+coverage/
+#tools and scripts
+tools/
+scripts/
+#IDE settings
+*.sln
+.vscode/
+.idea
+.editorconfig
+.ntvs_analysis.*
+#build tools
+.travis.yml
+.jenkins.yml
+.codeclimate.yml
+appveyor.yml
+# Nuget packages #
+.nuget/
+packages/
+packages.config
diff --git a/packages/@azure/arm-recoveryservices-siterecovery/LICENSE.txt b/packages/@azure/arm-recoveryservices-siterecovery/LICENSE.txt
new file mode 100644
index 000000000000..5431ba98b936
--- /dev/null
+++ b/packages/@azure/arm-recoveryservices-siterecovery/LICENSE.txt
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2018 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
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/packages/@azure/arm-recoveryservices-siterecovery/README.md b/packages/@azure/arm-recoveryservices-siterecovery/README.md
new file mode 100644
index 000000000000..ec976d45a277
--- /dev/null
+++ b/packages/@azure/arm-recoveryservices-siterecovery/README.md
@@ -0,0 +1,77 @@
+# Azure SiteRecoveryManagementClient SDK for JavaScript
+This package contains an isomorphic SDK for SiteRecoveryManagementClient.
+
+## Currently supported environments
+- Node.js version 6.x.x or higher
+- Browser JavaScript
+
+## How to Install
+```
+npm install @azure/arm-recoveryservices-siterecovery
+```
+
+
+## How to use
+
+### nodejs - Authentication, client creation and list operations as an example written in TypeScript.
+
+```ts
+import * as msRest from "ms-rest-js";
+import * as msRestAzure from "ms-rest-azure-js";
+import * as msRestNodeAuth from "ms-rest-nodeauth";
+import { SiteRecoveryManagementClient, SiteRecoveryManagementModels, SiteRecoveryManagementMappers } from "@azure/arm-recoveryservices-siterecovery";
+const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
+
+msRestNodeAuth.interactiveLogin().then((creds) => {
+ const client = new SiteRecoveryManagementClient(creds, subscriptionId);
+ client.operations.list().then((result) => {
+ console.log("The result is:");
+ console.log(result);
+ });
+}).catch((err) => {
+ console.error(err);
+});
+```
+
+### browser - Authentication, client creation and list operations as an example written in JavaScript.
+See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.
+
+- index.html
+```html
+
+
+
+ @azure/arm-recoveryservices-siterecovery sample
+
+
+
+
+
+
+
+
+
+```
+
+# Related projects
+ - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
diff --git a/packages/@azure/arm-recoveryservices-siterecovery/dist/arm-recoveryservices-siterecovery.js b/packages/@azure/arm-recoveryservices-siterecovery/dist/arm-recoveryservices-siterecovery.js
new file mode 100644
index 000000000000..3dde343a23d2
--- /dev/null
+++ b/packages/@azure/arm-recoveryservices-siterecovery/dist/arm-recoveryservices-siterecovery.js
@@ -0,0 +1,22254 @@
+/*
+ * 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.
+ */
+(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ms-rest-azure-js'), require('ms-rest-js')) :
+ typeof define === 'function' && define.amd ? define(['exports', 'ms-rest-azure-js', 'ms-rest-js'], factory) :
+ (factory((global.Azure = global.Azure || {}, global.Azure.ArmRecoveryservicesSiterecovery = {}),global.msRestAzure,global.msRest));
+}(this, (function (exports,msRestAzure,msRest) { 'use strict';
+
+ /*! *****************************************************************************
+ Copyright (c) Microsoft Corporation. All rights reserved.
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of the
+ License at http://www.apache.org/licenses/LICENSE-2.0
+
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+ MERCHANTABLITY OR NON-INFRINGEMENT.
+
+ See the Apache Version 2.0 License for specific language governing permissions
+ and limitations under the License.
+ ***************************************************************************** */
+ /* global Reflect, Promise */
+
+ var extendStatics = function(d, b) {
+ extendStatics = Object.setPrototypeOf ||
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+ return extendStatics(d, b);
+ };
+
+ function __extends(d, b) {
+ extendStatics(d, b);
+ function __() { this.constructor = d; }
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
+ }
+
+ var __assign = function() {
+ __assign = Object.assign || function __assign(t) {
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
+ s = arguments[i];
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
+ }
+ return t;
+ };
+ return __assign.apply(this, arguments);
+ };
+
+ /*
+ * 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.
+ */
+ /**
+ * Defines values for AgentAutoUpdateStatus.
+ * Possible values include: 'Disabled', 'Enabled'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: AgentAutoUpdateStatus =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var AgentAutoUpdateStatus;
+ (function (AgentAutoUpdateStatus) {
+ AgentAutoUpdateStatus["Disabled"] = "Disabled";
+ AgentAutoUpdateStatus["Enabled"] = "Enabled";
+ })(AgentAutoUpdateStatus || (AgentAutoUpdateStatus = {}));
+ /**
+ * Defines values for SetMultiVmSyncStatus.
+ * Possible values include: 'Enable', 'Disable'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: SetMultiVmSyncStatus =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var SetMultiVmSyncStatus;
+ (function (SetMultiVmSyncStatus) {
+ SetMultiVmSyncStatus["Enable"] = "Enable";
+ SetMultiVmSyncStatus["Disable"] = "Disable";
+ })(SetMultiVmSyncStatus || (SetMultiVmSyncStatus = {}));
+ /**
+ * Defines values for RecoveryPointSyncType.
+ * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: RecoveryPointSyncType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var RecoveryPointSyncType;
+ (function (RecoveryPointSyncType) {
+ RecoveryPointSyncType["MultiVmSyncRecoveryPoint"] = "MultiVmSyncRecoveryPoint";
+ RecoveryPointSyncType["PerVmRecoveryPoint"] = "PerVmRecoveryPoint";
+ })(RecoveryPointSyncType || (RecoveryPointSyncType = {}));
+ /**
+ * Defines values for MultiVmGroupCreateOption.
+ * Possible values include: 'AutoCreated', 'UserSpecified'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: MultiVmGroupCreateOption =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var MultiVmGroupCreateOption;
+ (function (MultiVmGroupCreateOption) {
+ MultiVmGroupCreateOption["AutoCreated"] = "AutoCreated";
+ MultiVmGroupCreateOption["UserSpecified"] = "UserSpecified";
+ })(MultiVmGroupCreateOption || (MultiVmGroupCreateOption = {}));
+ /**
+ * Defines values for FailoverDeploymentModel.
+ * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: FailoverDeploymentModel =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var FailoverDeploymentModel;
+ (function (FailoverDeploymentModel) {
+ FailoverDeploymentModel["NotApplicable"] = "NotApplicable";
+ FailoverDeploymentModel["Classic"] = "Classic";
+ FailoverDeploymentModel["ResourceManager"] = "ResourceManager";
+ })(FailoverDeploymentModel || (FailoverDeploymentModel = {}));
+ /**
+ * Defines values for RecoveryPlanGroupType.
+ * Possible values include: 'Shutdown', 'Boot', 'Failover'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: RecoveryPlanGroupType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var RecoveryPlanGroupType;
+ (function (RecoveryPlanGroupType) {
+ RecoveryPlanGroupType["Shutdown"] = "Shutdown";
+ RecoveryPlanGroupType["Boot"] = "Boot";
+ RecoveryPlanGroupType["Failover"] = "Failover";
+ })(RecoveryPlanGroupType || (RecoveryPlanGroupType = {}));
+ /**
+ * Defines values for ReplicationProtectedItemOperation.
+ * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover',
+ * 'UnplannedFailover', 'DisableProtection', 'TestFailover',
+ * 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', 'ChangePit',
+ * 'RepairReplication', 'SwitchProtection', 'CompleteMigration'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: ReplicationProtectedItemOperation =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var ReplicationProtectedItemOperation;
+ (function (ReplicationProtectedItemOperation) {
+ ReplicationProtectedItemOperation["ReverseReplicate"] = "ReverseReplicate";
+ ReplicationProtectedItemOperation["Commit"] = "Commit";
+ ReplicationProtectedItemOperation["PlannedFailover"] = "PlannedFailover";
+ ReplicationProtectedItemOperation["UnplannedFailover"] = "UnplannedFailover";
+ ReplicationProtectedItemOperation["DisableProtection"] = "DisableProtection";
+ ReplicationProtectedItemOperation["TestFailover"] = "TestFailover";
+ ReplicationProtectedItemOperation["TestFailoverCleanup"] = "TestFailoverCleanup";
+ ReplicationProtectedItemOperation["Failback"] = "Failback";
+ ReplicationProtectedItemOperation["FinalizeFailback"] = "FinalizeFailback";
+ ReplicationProtectedItemOperation["ChangePit"] = "ChangePit";
+ ReplicationProtectedItemOperation["RepairReplication"] = "RepairReplication";
+ ReplicationProtectedItemOperation["SwitchProtection"] = "SwitchProtection";
+ ReplicationProtectedItemOperation["CompleteMigration"] = "CompleteMigration";
+ })(ReplicationProtectedItemOperation || (ReplicationProtectedItemOperation = {}));
+ /**
+ * Defines values for PossibleOperationsDirections.
+ * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: PossibleOperationsDirections =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var PossibleOperationsDirections;
+ (function (PossibleOperationsDirections) {
+ PossibleOperationsDirections["PrimaryToRecovery"] = "PrimaryToRecovery";
+ PossibleOperationsDirections["RecoveryToPrimary"] = "RecoveryToPrimary";
+ })(PossibleOperationsDirections || (PossibleOperationsDirections = {}));
+ /**
+ * Defines values for DisableProtectionReason.
+ * Possible values include: 'NotSpecified', 'MigrationComplete'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: DisableProtectionReason =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var DisableProtectionReason;
+ (function (DisableProtectionReason) {
+ DisableProtectionReason["NotSpecified"] = "NotSpecified";
+ DisableProtectionReason["MigrationComplete"] = "MigrationComplete";
+ })(DisableProtectionReason || (DisableProtectionReason = {}));
+ /**
+ * Defines values for HealthErrorCategory.
+ * Possible values include: 'None', 'Replication', 'TestFailover',
+ * 'Configuration', 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: HealthErrorCategory =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var HealthErrorCategory;
+ (function (HealthErrorCategory) {
+ HealthErrorCategory["None"] = "None";
+ HealthErrorCategory["Replication"] = "Replication";
+ HealthErrorCategory["TestFailover"] = "TestFailover";
+ HealthErrorCategory["Configuration"] = "Configuration";
+ HealthErrorCategory["FabricInfrastructure"] = "FabricInfrastructure";
+ HealthErrorCategory["VersionExpiry"] = "VersionExpiry";
+ HealthErrorCategory["AgentAutoUpdate"] = "AgentAutoUpdate";
+ })(HealthErrorCategory || (HealthErrorCategory = {}));
+ /**
+ * Defines values for Severity.
+ * Possible values include: 'NONE', 'Warning', 'Error', 'Info'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: Severity = "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var Severity;
+ (function (Severity) {
+ Severity["NONE"] = "NONE";
+ Severity["Warning"] = "Warning";
+ Severity["Error"] = "Error";
+ Severity["Info"] = "Info";
+ })(Severity || (Severity = {}));
+ /**
+ * Defines values for PresenceStatus.
+ * Possible values include: 'Unknown', 'Present', 'NotPresent'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: PresenceStatus =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var PresenceStatus;
+ (function (PresenceStatus) {
+ PresenceStatus["Unknown"] = "Unknown";
+ PresenceStatus["Present"] = "Present";
+ PresenceStatus["NotPresent"] = "NotPresent";
+ })(PresenceStatus || (PresenceStatus = {}));
+ /**
+ * Defines values for IdentityProviderType.
+ * Possible values include: 'RecoveryServicesActiveDirectory'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: IdentityProviderType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var IdentityProviderType;
+ (function (IdentityProviderType) {
+ IdentityProviderType["RecoveryServicesActiveDirectory"] = "RecoveryServicesActiveDirectory";
+ })(IdentityProviderType || (IdentityProviderType = {}));
+ /**
+ * Defines values for AgentVersionStatus.
+ * Possible values include: 'Supported', 'NotSupported', 'Deprecated',
+ * 'UpdateRequired', 'SecurityUpdateRequired'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: AgentVersionStatus =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var AgentVersionStatus;
+ (function (AgentVersionStatus) {
+ AgentVersionStatus["Supported"] = "Supported";
+ AgentVersionStatus["NotSupported"] = "NotSupported";
+ AgentVersionStatus["Deprecated"] = "Deprecated";
+ AgentVersionStatus["UpdateRequired"] = "UpdateRequired";
+ AgentVersionStatus["SecurityUpdateRequired"] = "SecurityUpdateRequired";
+ })(AgentVersionStatus || (AgentVersionStatus = {}));
+ /**
+ * Defines values for RecoveryPointType.
+ * Possible values include: 'LatestTime', 'LatestTag', 'Custom'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: RecoveryPointType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var RecoveryPointType;
+ (function (RecoveryPointType) {
+ RecoveryPointType["LatestTime"] = "LatestTime";
+ RecoveryPointType["LatestTag"] = "LatestTag";
+ RecoveryPointType["Custom"] = "Custom";
+ })(RecoveryPointType || (RecoveryPointType = {}));
+ /**
+ * Defines values for MultiVmSyncStatus.
+ * Possible values include: 'Enabled', 'Disabled'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: MultiVmSyncStatus =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var MultiVmSyncStatus;
+ (function (MultiVmSyncStatus) {
+ MultiVmSyncStatus["Enabled"] = "Enabled";
+ MultiVmSyncStatus["Disabled"] = "Disabled";
+ })(MultiVmSyncStatus || (MultiVmSyncStatus = {}));
+ /**
+ * Defines values for A2ARpRecoveryPointType.
+ * Possible values include: 'Latest', 'LatestApplicationConsistent',
+ * 'LatestCrashConsistent', 'LatestProcessed'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: A2ARpRecoveryPointType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var A2ARpRecoveryPointType;
+ (function (A2ARpRecoveryPointType) {
+ A2ARpRecoveryPointType["Latest"] = "Latest";
+ A2ARpRecoveryPointType["LatestApplicationConsistent"] = "LatestApplicationConsistent";
+ A2ARpRecoveryPointType["LatestCrashConsistent"] = "LatestCrashConsistent";
+ A2ARpRecoveryPointType["LatestProcessed"] = "LatestProcessed";
+ })(A2ARpRecoveryPointType || (A2ARpRecoveryPointType = {}));
+ /**
+ * Defines values for MultiVmSyncPointOption.
+ * Possible values include: 'UseMultiVmSyncRecoveryPoint',
+ * 'UsePerVmRecoveryPoint'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: MultiVmSyncPointOption =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var MultiVmSyncPointOption;
+ (function (MultiVmSyncPointOption) {
+ MultiVmSyncPointOption["UseMultiVmSyncRecoveryPoint"] = "UseMultiVmSyncRecoveryPoint";
+ MultiVmSyncPointOption["UsePerVmRecoveryPoint"] = "UsePerVmRecoveryPoint";
+ })(MultiVmSyncPointOption || (MultiVmSyncPointOption = {}));
+ /**
+ * Defines values for RecoveryPlanActionLocation.
+ * Possible values include: 'Primary', 'Recovery'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: RecoveryPlanActionLocation =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var RecoveryPlanActionLocation;
+ (function (RecoveryPlanActionLocation) {
+ RecoveryPlanActionLocation["Primary"] = "Primary";
+ RecoveryPlanActionLocation["Recovery"] = "Recovery";
+ })(RecoveryPlanActionLocation || (RecoveryPlanActionLocation = {}));
+ /**
+ * Defines values for DataSyncStatus.
+ * Possible values include: 'ForDownTime', 'ForSynchronization'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: DataSyncStatus =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var DataSyncStatus;
+ (function (DataSyncStatus) {
+ DataSyncStatus["ForDownTime"] = "ForDownTime";
+ DataSyncStatus["ForSynchronization"] = "ForSynchronization";
+ })(DataSyncStatus || (DataSyncStatus = {}));
+ /**
+ * Defines values for AlternateLocationRecoveryOption.
+ * Possible values include: 'CreateVmIfNotFound', 'NoAction'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: AlternateLocationRecoveryOption =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var AlternateLocationRecoveryOption;
+ (function (AlternateLocationRecoveryOption) {
+ AlternateLocationRecoveryOption["CreateVmIfNotFound"] = "CreateVmIfNotFound";
+ AlternateLocationRecoveryOption["NoAction"] = "NoAction";
+ })(AlternateLocationRecoveryOption || (AlternateLocationRecoveryOption = {}));
+ /**
+ * Defines values for HyperVReplicaAzureRpRecoveryPointType.
+ * Possible values include: 'Latest', 'LatestApplicationConsistent',
+ * 'LatestProcessed'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: HyperVReplicaAzureRpRecoveryPointType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var HyperVReplicaAzureRpRecoveryPointType;
+ (function (HyperVReplicaAzureRpRecoveryPointType) {
+ HyperVReplicaAzureRpRecoveryPointType["Latest"] = "Latest";
+ HyperVReplicaAzureRpRecoveryPointType["LatestApplicationConsistent"] = "LatestApplicationConsistent";
+ HyperVReplicaAzureRpRecoveryPointType["LatestProcessed"] = "LatestProcessed";
+ })(HyperVReplicaAzureRpRecoveryPointType || (HyperVReplicaAzureRpRecoveryPointType = {}));
+ /**
+ * Defines values for InMageV2RpRecoveryPointType.
+ * Possible values include: 'Latest', 'LatestApplicationConsistent',
+ * 'LatestCrashConsistent', 'LatestProcessed'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: InMageV2RpRecoveryPointType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var InMageV2RpRecoveryPointType;
+ (function (InMageV2RpRecoveryPointType) {
+ InMageV2RpRecoveryPointType["Latest"] = "Latest";
+ InMageV2RpRecoveryPointType["LatestApplicationConsistent"] = "LatestApplicationConsistent";
+ InMageV2RpRecoveryPointType["LatestCrashConsistent"] = "LatestCrashConsistent";
+ InMageV2RpRecoveryPointType["LatestProcessed"] = "LatestProcessed";
+ })(InMageV2RpRecoveryPointType || (InMageV2RpRecoveryPointType = {}));
+ /**
+ * Defines values for RpInMageRecoveryPointType.
+ * Possible values include: 'LatestTime', 'LatestTag', 'Custom'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: RpInMageRecoveryPointType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var RpInMageRecoveryPointType;
+ (function (RpInMageRecoveryPointType) {
+ RpInMageRecoveryPointType["LatestTime"] = "LatestTime";
+ RpInMageRecoveryPointType["LatestTag"] = "LatestTag";
+ RpInMageRecoveryPointType["Custom"] = "Custom";
+ })(RpInMageRecoveryPointType || (RpInMageRecoveryPointType = {}));
+ /**
+ * Defines values for SourceSiteOperations.
+ * Possible values include: 'Required', 'NotRequired'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: SourceSiteOperations =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var SourceSiteOperations;
+ (function (SourceSiteOperations) {
+ SourceSiteOperations["Required"] = "Required";
+ SourceSiteOperations["NotRequired"] = "NotRequired";
+ })(SourceSiteOperations || (SourceSiteOperations = {}));
+ /**
+ * Defines values for LicenseType.
+ * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer'
+ * There could be more values for this enum apart from the ones defined here.If
+ * you want to set a value that is not from the known values then you can do
+ * the following:
+ * let param: LicenseType =
+ * "someUnknownValueThatWillStillBeValid";
+ * @readonly
+ * @enum {string}
+ */
+ var LicenseType;
+ (function (LicenseType) {
+ LicenseType["NotSpecified"] = "NotSpecified";
+ LicenseType["NoLicenseType"] = "NoLicenseType";
+ LicenseType["WindowsServer"] = "WindowsServer";
+ })(LicenseType || (LicenseType = {}));
+
+ var index = /*#__PURE__*/Object.freeze({
+ get AgentAutoUpdateStatus () { return AgentAutoUpdateStatus; },
+ get SetMultiVmSyncStatus () { return SetMultiVmSyncStatus; },
+ get RecoveryPointSyncType () { return RecoveryPointSyncType; },
+ get MultiVmGroupCreateOption () { return MultiVmGroupCreateOption; },
+ get FailoverDeploymentModel () { return FailoverDeploymentModel; },
+ get RecoveryPlanGroupType () { return RecoveryPlanGroupType; },
+ get ReplicationProtectedItemOperation () { return ReplicationProtectedItemOperation; },
+ get PossibleOperationsDirections () { return PossibleOperationsDirections; },
+ get DisableProtectionReason () { return DisableProtectionReason; },
+ get HealthErrorCategory () { return HealthErrorCategory; },
+ get Severity () { return Severity; },
+ get PresenceStatus () { return PresenceStatus; },
+ get IdentityProviderType () { return IdentityProviderType; },
+ get AgentVersionStatus () { return AgentVersionStatus; },
+ get RecoveryPointType () { return RecoveryPointType; },
+ get MultiVmSyncStatus () { return MultiVmSyncStatus; },
+ get A2ARpRecoveryPointType () { return A2ARpRecoveryPointType; },
+ get MultiVmSyncPointOption () { return MultiVmSyncPointOption; },
+ get RecoveryPlanActionLocation () { return RecoveryPlanActionLocation; },
+ get DataSyncStatus () { return DataSyncStatus; },
+ get AlternateLocationRecoveryOption () { return AlternateLocationRecoveryOption; },
+ get HyperVReplicaAzureRpRecoveryPointType () { return HyperVReplicaAzureRpRecoveryPointType; },
+ get InMageV2RpRecoveryPointType () { return InMageV2RpRecoveryPointType; },
+ get RpInMageRecoveryPointType () { return RpInMageRecoveryPointType; },
+ get SourceSiteOperations () { return SourceSiteOperations; },
+ get LicenseType () { return LicenseType; }
+ });
+
+ /*
+ * 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.
+ */
+ var CloudError = msRestAzure.CloudErrorMapper;
+ var BaseResource = msRestAzure.BaseResourceMapper;
+ var ApplyRecoveryPointProviderSpecificInput = {
+ serializedName: "ApplyRecoveryPointProviderSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ApplyRecoveryPointProviderSpecificInput",
+ className: "ApplyRecoveryPointProviderSpecificInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AApplyRecoveryPointInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "ApplyRecoveryPointProviderSpecificInput",
+ className: "A2AApplyRecoveryPointInput",
+ modelProperties: __assign({}, ApplyRecoveryPointProviderSpecificInput.type.modelProperties)
+ }
+ };
+ var ReplicationProviderSpecificContainerCreationInput = {
+ serializedName: "ReplicationProviderSpecificContainerCreationInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificContainerCreationInput",
+ className: "ReplicationProviderSpecificContainerCreationInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AContainerCreationInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificContainerCreationInput",
+ className: "A2AContainerCreationInput",
+ modelProperties: __assign({}, ReplicationProviderSpecificContainerCreationInput.type.modelProperties)
+ }
+ };
+ var ReplicationProviderSpecificContainerMappingInput = {
+ serializedName: "ReplicationProviderSpecificContainerMappingInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificContainerMappingInput",
+ className: "ReplicationProviderSpecificContainerMappingInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AContainerMappingInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificContainerMappingInput",
+ className: "A2AContainerMappingInput",
+ modelProperties: __assign({}, ReplicationProviderSpecificContainerMappingInput.type.modelProperties, { agentAutoUpdateStatus: {
+ serializedName: "agentAutoUpdateStatus",
+ type: {
+ name: "String"
+ }
+ }, automationAccountArmId: {
+ serializedName: "automationAccountArmId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var A2AVmDiskInputDetails = {
+ 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"
+ }
+ }
+ }
+ }
+ };
+ var A2AVmManagedDiskInputDetails = {
+ 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"
+ }
+ }
+ }
+ }
+ };
+ var DiskEncryptionKeyInfo = {
+ serializedName: "DiskEncryptionKeyInfo",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionKeyInfo",
+ modelProperties: {
+ secretIdentifier: {
+ serializedName: "secretIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ keyVaultResourceArmId: {
+ serializedName: "keyVaultResourceArmId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var KeyEncryptionKeyInfo = {
+ serializedName: "KeyEncryptionKeyInfo",
+ type: {
+ name: "Composite",
+ className: "KeyEncryptionKeyInfo",
+ modelProperties: {
+ keyIdentifier: {
+ serializedName: "keyIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ keyVaultResourceArmId: {
+ serializedName: "keyVaultResourceArmId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var DiskEncryptionInfo = {
+ serializedName: "DiskEncryptionInfo",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionInfo",
+ modelProperties: {
+ diskEncryptionKeyInfo: {
+ serializedName: "diskEncryptionKeyInfo",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionKeyInfo"
+ }
+ },
+ keyEncryptionKeyInfo: {
+ serializedName: "keyEncryptionKeyInfo",
+ type: {
+ name: "Composite",
+ className: "KeyEncryptionKeyInfo"
+ }
+ }
+ }
+ }
+ };
+ var EnableProtectionProviderSpecificInput = {
+ serializedName: "EnableProtectionProviderSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "EnableProtectionProviderSpecificInput",
+ className: "EnableProtectionProviderSpecificInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AEnableProtectionInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "EnableProtectionProviderSpecificInput",
+ className: "A2AEnableProtectionInput",
+ modelProperties: __assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { fabricObjectId: {
+ serializedName: "fabricObjectId",
+ type: {
+ name: "String"
+ }
+ }, recoveryContainerId: {
+ serializedName: "recoveryContainerId",
+ type: {
+ name: "String"
+ }
+ }, recoveryResourceGroupId: {
+ serializedName: "recoveryResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryCloudServiceId: {
+ serializedName: "recoveryCloudServiceId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAvailabilitySetId: {
+ serializedName: "recoveryAvailabilitySetId",
+ type: {
+ name: "String"
+ }
+ }, vmDisks: {
+ serializedName: "vmDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AVmDiskInputDetails"
+ }
+ }
+ }
+ }, vmManagedDisks: {
+ serializedName: "vmManagedDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AVmManagedDiskInputDetails"
+ }
+ }
+ }
+ }, multiVmGroupName: {
+ serializedName: "multiVmGroupName",
+ type: {
+ name: "String"
+ }
+ }, recoveryBootDiagStorageAccountId: {
+ serializedName: "recoveryBootDiagStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, diskEncryptionInfo: {
+ serializedName: "diskEncryptionInfo",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionInfo"
+ }
+ } })
+ }
+ };
+ var EventProviderSpecificDetails = {
+ serializedName: "EventProviderSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "EventProviderSpecificDetails",
+ className: "EventProviderSpecificDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AEventDetails = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "EventProviderSpecificDetails",
+ className: "A2AEventDetails",
+ modelProperties: __assign({}, EventProviderSpecificDetails.type.modelProperties, { protectedItemName: {
+ serializedName: "protectedItemName",
+ type: {
+ name: "String"
+ }
+ }, fabricObjectId: {
+ serializedName: "fabricObjectId",
+ type: {
+ name: "String"
+ }
+ }, fabricName: {
+ serializedName: "fabricName",
+ type: {
+ name: "String"
+ }
+ }, fabricLocation: {
+ serializedName: "fabricLocation",
+ type: {
+ name: "String"
+ }
+ }, remoteFabricName: {
+ serializedName: "remoteFabricName",
+ type: {
+ name: "String"
+ }
+ }, remoteFabricLocation: {
+ serializedName: "remoteFabricLocation",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var ProviderSpecificFailoverInput = {
+ serializedName: "ProviderSpecificFailoverInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "ProviderSpecificFailoverInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AFailoverProviderInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "A2AFailoverProviderInput",
+ modelProperties: __assign({}, ProviderSpecificFailoverInput.type.modelProperties, { recoveryPointId: {
+ serializedName: "recoveryPointId",
+ type: {
+ name: "String"
+ }
+ }, cloudServiceCreationOption: {
+ serializedName: "cloudServiceCreationOption",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var PolicyProviderSpecificInput = {
+ serializedName: "PolicyProviderSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "PolicyProviderSpecificInput",
+ className: "PolicyProviderSpecificInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2APolicyCreationInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificInput",
+ className: "A2APolicyCreationInput",
+ modelProperties: __assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, crashConsistentFrequencyInMinutes: {
+ serializedName: "crashConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ required: true,
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var PolicyProviderSpecificDetails = {
+ serializedName: "PolicyProviderSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "PolicyProviderSpecificDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2APolicyDetails = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "A2APolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ }, crashConsistentFrequencyInMinutes: {
+ serializedName: "crashConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ } })
+ }
+ };
+ var A2AProtectedDiskDetails = {
+ serializedName: "A2AProtectedDiskDetails",
+ type: {
+ name: "Composite",
+ className: "A2AProtectedDiskDetails",
+ modelProperties: {
+ diskUri: {
+ serializedName: "diskUri",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryAzureStorageAccountId: {
+ serializedName: "recoveryAzureStorageAccountId",
+ type: {
+ name: "String"
+ }
+ },
+ primaryDiskAzureStorageAccountId: {
+ serializedName: "primaryDiskAzureStorageAccountId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryDiskUri: {
+ serializedName: "recoveryDiskUri",
+ type: {
+ name: "String"
+ }
+ },
+ diskName: {
+ serializedName: "diskName",
+ type: {
+ name: "String"
+ }
+ },
+ diskCapacityInBytes: {
+ serializedName: "diskCapacityInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ primaryStagingAzureStorageAccountId: {
+ serializedName: "primaryStagingAzureStorageAccountId",
+ type: {
+ name: "String"
+ }
+ },
+ diskType: {
+ serializedName: "diskType",
+ type: {
+ name: "String"
+ }
+ },
+ resyncRequired: {
+ serializedName: "resyncRequired",
+ type: {
+ name: "Boolean"
+ }
+ },
+ monitoringPercentageCompletion: {
+ serializedName: "monitoringPercentageCompletion",
+ type: {
+ name: "Number"
+ }
+ },
+ monitoringJobType: {
+ serializedName: "monitoringJobType",
+ type: {
+ name: "String"
+ }
+ },
+ dataPendingInStagingStorageAccountInMB: {
+ serializedName: "dataPendingInStagingStorageAccountInMB",
+ type: {
+ name: "Number"
+ }
+ },
+ dataPendingAtSourceAgentInMB: {
+ serializedName: "dataPendingAtSourceAgentInMB",
+ type: {
+ name: "Number"
+ }
+ },
+ isDiskEncrypted: {
+ serializedName: "isDiskEncrypted",
+ type: {
+ name: "Boolean"
+ }
+ },
+ secretIdentifier: {
+ serializedName: "secretIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ dekKeyVaultArmId: {
+ serializedName: "dekKeyVaultArmId",
+ type: {
+ name: "String"
+ }
+ },
+ isDiskKeyEncrypted: {
+ serializedName: "isDiskKeyEncrypted",
+ type: {
+ name: "Boolean"
+ }
+ },
+ keyIdentifier: {
+ serializedName: "keyIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ kekKeyVaultArmId: {
+ serializedName: "kekKeyVaultArmId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AProtectedManagedDiskDetails = {
+ serializedName: "A2AProtectedManagedDiskDetails",
+ type: {
+ name: "Composite",
+ className: "A2AProtectedManagedDiskDetails",
+ modelProperties: {
+ diskId: {
+ serializedName: "diskId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryResourceGroupId: {
+ serializedName: "recoveryResourceGroupId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryTargetDiskId: {
+ serializedName: "recoveryTargetDiskId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryReplicaDiskId: {
+ serializedName: "recoveryReplicaDiskId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryReplicaDiskAccountType: {
+ serializedName: "recoveryReplicaDiskAccountType",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryTargetDiskAccountType: {
+ serializedName: "recoveryTargetDiskAccountType",
+ type: {
+ name: "String"
+ }
+ },
+ diskName: {
+ serializedName: "diskName",
+ type: {
+ name: "String"
+ }
+ },
+ diskCapacityInBytes: {
+ serializedName: "diskCapacityInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ primaryStagingAzureStorageAccountId: {
+ serializedName: "primaryStagingAzureStorageAccountId",
+ type: {
+ name: "String"
+ }
+ },
+ diskType: {
+ serializedName: "diskType",
+ type: {
+ name: "String"
+ }
+ },
+ resyncRequired: {
+ serializedName: "resyncRequired",
+ type: {
+ name: "Boolean"
+ }
+ },
+ monitoringPercentageCompletion: {
+ serializedName: "monitoringPercentageCompletion",
+ type: {
+ name: "Number"
+ }
+ },
+ monitoringJobType: {
+ serializedName: "monitoringJobType",
+ type: {
+ name: "String"
+ }
+ },
+ dataPendingInStagingStorageAccountInMB: {
+ serializedName: "dataPendingInStagingStorageAccountInMB",
+ type: {
+ name: "Number"
+ }
+ },
+ dataPendingAtSourceAgentInMB: {
+ serializedName: "dataPendingAtSourceAgentInMB",
+ type: {
+ name: "Number"
+ }
+ },
+ isDiskEncrypted: {
+ serializedName: "isDiskEncrypted",
+ type: {
+ name: "Boolean"
+ }
+ },
+ secretIdentifier: {
+ serializedName: "secretIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ dekKeyVaultArmId: {
+ serializedName: "dekKeyVaultArmId",
+ type: {
+ name: "String"
+ }
+ },
+ isDiskKeyEncrypted: {
+ serializedName: "isDiskKeyEncrypted",
+ type: {
+ name: "Boolean"
+ }
+ },
+ keyIdentifier: {
+ serializedName: "keyIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ kekKeyVaultArmId: {
+ serializedName: "kekKeyVaultArmId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectionContainerMappingProviderSpecificDetails = {
+ serializedName: "ProtectionContainerMappingProviderSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProtectionContainerMappingProviderSpecificDetails",
+ className: "ProtectionContainerMappingProviderSpecificDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AProtectionContainerMappingDetails = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "ProtectionContainerMappingProviderSpecificDetails",
+ className: "A2AProtectionContainerMappingDetails",
+ modelProperties: __assign({}, ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, { agentAutoUpdateStatus: {
+ serializedName: "agentAutoUpdateStatus",
+ type: {
+ name: "String"
+ }
+ }, automationAccountArmId: {
+ serializedName: "automationAccountArmId",
+ type: {
+ name: "String"
+ }
+ }, scheduleName: {
+ serializedName: "scheduleName",
+ type: {
+ name: "String"
+ }
+ }, jobScheduleName: {
+ serializedName: "jobScheduleName",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var ProviderSpecificRecoveryPointDetails = {
+ serializedName: "ProviderSpecificRecoveryPointDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProviderSpecificRecoveryPointDetails",
+ className: "ProviderSpecificRecoveryPointDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2ARecoveryPointDetails = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator,
+ uberParent: "ProviderSpecificRecoveryPointDetails",
+ className: "A2ARecoveryPointDetails",
+ modelProperties: __assign({}, ProviderSpecificRecoveryPointDetails.type.modelProperties, { recoveryPointSyncType: {
+ serializedName: "recoveryPointSyncType",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var VMNicDetails = {
+ serializedName: "VMNicDetails",
+ type: {
+ name: "Composite",
+ className: "VMNicDetails",
+ modelProperties: {
+ nicId: {
+ serializedName: "nicId",
+ type: {
+ name: "String"
+ }
+ },
+ replicaNicId: {
+ serializedName: "replicaNicId",
+ type: {
+ name: "String"
+ }
+ },
+ sourceNicArmId: {
+ serializedName: "sourceNicArmId",
+ type: {
+ name: "String"
+ }
+ },
+ vMSubnetName: {
+ serializedName: "vMSubnetName",
+ type: {
+ name: "String"
+ }
+ },
+ vMNetworkName: {
+ serializedName: "vMNetworkName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryVMNetworkId: {
+ serializedName: "recoveryVMNetworkId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryVMSubnetName: {
+ serializedName: "recoveryVMSubnetName",
+ type: {
+ name: "String"
+ }
+ },
+ ipAddressType: {
+ serializedName: "ipAddressType",
+ type: {
+ name: "String"
+ }
+ },
+ primaryNicStaticIPAddress: {
+ serializedName: "primaryNicStaticIPAddress",
+ type: {
+ name: "String"
+ }
+ },
+ replicaNicStaticIPAddress: {
+ serializedName: "replicaNicStaticIPAddress",
+ type: {
+ name: "String"
+ }
+ },
+ selectionType: {
+ serializedName: "selectionType",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryNicIpAddressType: {
+ serializedName: "recoveryNicIpAddressType",
+ type: {
+ name: "String"
+ }
+ },
+ enableAcceleratedNetworkingOnRecovery: {
+ serializedName: "enableAcceleratedNetworkingOnRecovery",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+ };
+ var RoleAssignment = {
+ 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"
+ }
+ }
+ }
+ }
+ };
+ var InputEndpoint = {
+ serializedName: "InputEndpoint",
+ type: {
+ name: "Composite",
+ className: "InputEndpoint",
+ modelProperties: {
+ endpointName: {
+ serializedName: "endpointName",
+ type: {
+ name: "String"
+ }
+ },
+ privatePort: {
+ serializedName: "privatePort",
+ type: {
+ name: "Number"
+ }
+ },
+ publicPort: {
+ serializedName: "publicPort",
+ type: {
+ name: "Number"
+ }
+ },
+ protocol: {
+ serializedName: "protocol",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AzureToAzureVmSyncedConfigDetails = {
+ serializedName: "AzureToAzureVmSyncedConfigDetails",
+ type: {
+ name: "Composite",
+ className: "AzureToAzureVmSyncedConfigDetails",
+ modelProperties: {
+ tags: {
+ serializedName: "tags",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ roleAssignments: {
+ serializedName: "roleAssignments",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RoleAssignment"
+ }
+ }
+ }
+ },
+ inputEndpoints: {
+ serializedName: "inputEndpoints",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InputEndpoint"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var ReplicationProviderSpecificSettings = {
+ serializedName: "ReplicationProviderSpecificSettings",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "ReplicationProviderSpecificSettings",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AReplicationDetails = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "A2AReplicationDetails",
+ modelProperties: __assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { fabricObjectId: {
+ serializedName: "fabricObjectId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupId: {
+ serializedName: "multiVmGroupId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupName: {
+ serializedName: "multiVmGroupName",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupCreateOption: {
+ serializedName: "multiVmGroupCreateOption",
+ type: {
+ name: "String"
+ }
+ }, managementId: {
+ serializedName: "managementId",
+ type: {
+ name: "String"
+ }
+ }, protectedDisks: {
+ serializedName: "protectedDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AProtectedDiskDetails"
+ }
+ }
+ }
+ }, protectedManagedDisks: {
+ serializedName: "protectedManagedDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AProtectedManagedDiskDetails"
+ }
+ }
+ }
+ }, recoveryBootDiagStorageAccountId: {
+ serializedName: "recoveryBootDiagStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, primaryFabricLocation: {
+ serializedName: "primaryFabricLocation",
+ type: {
+ name: "String"
+ }
+ }, recoveryFabricLocation: {
+ serializedName: "recoveryFabricLocation",
+ type: {
+ name: "String"
+ }
+ }, osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureVMSize: {
+ serializedName: "recoveryAzureVMSize",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureVMName: {
+ serializedName: "recoveryAzureVMName",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureResourceGroupId: {
+ serializedName: "recoveryAzureResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryCloudService: {
+ serializedName: "recoveryCloudService",
+ type: {
+ name: "String"
+ }
+ }, recoveryAvailabilitySet: {
+ serializedName: "recoveryAvailabilitySet",
+ type: {
+ name: "String"
+ }
+ }, selectedRecoveryAzureNetworkId: {
+ serializedName: "selectedRecoveryAzureNetworkId",
+ type: {
+ name: "String"
+ }
+ }, vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicDetails"
+ }
+ }
+ }
+ }, vmSyncedConfigDetails: {
+ serializedName: "vmSyncedConfigDetails",
+ type: {
+ name: "Composite",
+ className: "AzureToAzureVmSyncedConfigDetails"
+ }
+ }, monitoringPercentageCompletion: {
+ serializedName: "monitoringPercentageCompletion",
+ type: {
+ name: "Number"
+ }
+ }, monitoringJobType: {
+ serializedName: "monitoringJobType",
+ type: {
+ name: "String"
+ }
+ }, lastHeartbeat: {
+ serializedName: "lastHeartbeat",
+ type: {
+ name: "DateTime"
+ }
+ }, agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ }, isReplicationAgentUpdateRequired: {
+ serializedName: "isReplicationAgentUpdateRequired",
+ type: {
+ name: "Boolean"
+ }
+ }, recoveryFabricObjectId: {
+ serializedName: "recoveryFabricObjectId",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionState: {
+ serializedName: "vmProtectionState",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionStateDescription: {
+ serializedName: "vmProtectionStateDescription",
+ type: {
+ name: "String"
+ }
+ }, lifecycleId: {
+ serializedName: "lifecycleId",
+ type: {
+ name: "String"
+ }
+ }, testFailoverRecoveryFabricObjectId: {
+ serializedName: "testFailoverRecoveryFabricObjectId",
+ type: {
+ name: "String"
+ }
+ }, rpoInSeconds: {
+ serializedName: "rpoInSeconds",
+ type: {
+ name: "Number"
+ }
+ }, lastRpoCalculatedTime: {
+ serializedName: "lastRpoCalculatedTime",
+ type: {
+ name: "DateTime"
+ }
+ } })
+ }
+ };
+ var ReverseReplicationProviderSpecificInput = {
+ serializedName: "ReverseReplicationProviderSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReverseReplicationProviderSpecificInput",
+ className: "ReverseReplicationProviderSpecificInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AReprotectInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "ReverseReplicationProviderSpecificInput",
+ className: "A2AReprotectInput",
+ modelProperties: __assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { recoveryContainerId: {
+ serializedName: "recoveryContainerId",
+ type: {
+ name: "String"
+ }
+ }, vmDisks: {
+ serializedName: "vmDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AVmDiskInputDetails"
+ }
+ }
+ }
+ }, recoveryResourceGroupId: {
+ serializedName: "recoveryResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryCloudServiceId: {
+ serializedName: "recoveryCloudServiceId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAvailabilitySetId: {
+ serializedName: "recoveryAvailabilitySetId",
+ type: {
+ name: "String"
+ }
+ }, policyId: {
+ serializedName: "policyId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var SwitchProtectionProviderSpecificInput = {
+ serializedName: "SwitchProtectionProviderSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "SwitchProtectionProviderSpecificInput",
+ className: "SwitchProtectionProviderSpecificInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2ASwitchProtectionInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: SwitchProtectionProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "SwitchProtectionProviderSpecificInput",
+ className: "A2ASwitchProtectionInput",
+ modelProperties: __assign({}, SwitchProtectionProviderSpecificInput.type.modelProperties, { recoveryContainerId: {
+ serializedName: "recoveryContainerId",
+ type: {
+ name: "String"
+ }
+ }, vmDisks: {
+ serializedName: "vmDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AVmDiskInputDetails"
+ }
+ }
+ }
+ }, vmManagedDisks: {
+ serializedName: "vmManagedDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AVmManagedDiskInputDetails"
+ }
+ }
+ }
+ }, recoveryResourceGroupId: {
+ serializedName: "recoveryResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryCloudServiceId: {
+ serializedName: "recoveryCloudServiceId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAvailabilitySetId: {
+ serializedName: "recoveryAvailabilitySetId",
+ type: {
+ name: "String"
+ }
+ }, policyId: {
+ serializedName: "policyId",
+ type: {
+ name: "String"
+ }
+ }, recoveryBootDiagStorageAccountId: {
+ serializedName: "recoveryBootDiagStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, diskEncryptionInfo: {
+ serializedName: "diskEncryptionInfo",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionInfo"
+ }
+ } })
+ }
+ };
+ var ReplicationProviderSpecificUpdateContainerMappingInput = {
+ serializedName: "ReplicationProviderSpecificUpdateContainerMappingInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput",
+ className: "ReplicationProviderSpecificUpdateContainerMappingInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AUpdateContainerMappingInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput",
+ className: "A2AUpdateContainerMappingInput",
+ modelProperties: __assign({}, ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, { agentAutoUpdateStatus: {
+ serializedName: "agentAutoUpdateStatus",
+ type: {
+ name: "String"
+ }
+ }, automationAccountArmId: {
+ serializedName: "automationAccountArmId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var A2AVmManagedDiskUpdateDetails = {
+ serializedName: "A2AVmManagedDiskUpdateDetails",
+ type: {
+ name: "Composite",
+ className: "A2AVmManagedDiskUpdateDetails",
+ modelProperties: {
+ diskId: {
+ serializedName: "diskId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryTargetDiskAccountType: {
+ serializedName: "recoveryTargetDiskAccountType",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryReplicaDiskAccountType: {
+ serializedName: "recoveryReplicaDiskAccountType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var UpdateReplicationProtectedItemProviderInput = {
+ serializedName: "UpdateReplicationProtectedItemProviderInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "UpdateReplicationProtectedItemProviderInput",
+ className: "UpdateReplicationProtectedItemProviderInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var A2AUpdateReplicationProtectedItemInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator,
+ uberParent: "UpdateReplicationProtectedItemProviderInput",
+ className: "A2AUpdateReplicationProtectedItemInput",
+ modelProperties: __assign({}, UpdateReplicationProtectedItemProviderInput.type.modelProperties, { recoveryCloudServiceId: {
+ serializedName: "recoveryCloudServiceId",
+ type: {
+ name: "String"
+ }
+ }, recoveryResourceGroupId: {
+ serializedName: "recoveryResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, managedDiskUpdateDetails: {
+ serializedName: "managedDiskUpdateDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "A2AVmManagedDiskUpdateDetails"
+ }
+ }
+ }
+ }, recoveryBootDiagStorageAccountId: {
+ serializedName: "recoveryBootDiagStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, diskEncryptionInfo: {
+ serializedName: "diskEncryptionInfo",
+ type: {
+ name: "Composite",
+ className: "DiskEncryptionInfo"
+ }
+ } })
+ }
+ };
+ var AddVCenterRequestProperties = {
+ serializedName: "AddVCenterRequestProperties",
+ type: {
+ name: "Composite",
+ className: "AddVCenterRequestProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ },
+ processServerId: {
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ },
+ port: {
+ serializedName: "port",
+ type: {
+ name: "String"
+ }
+ },
+ runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AddVCenterRequest = {
+ serializedName: "AddVCenterRequest",
+ type: {
+ name: "Composite",
+ className: "AddVCenterRequest",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "AddVCenterRequestProperties"
+ }
+ }
+ }
+ }
+ };
+ var AlertProperties = {
+ serializedName: "AlertProperties",
+ type: {
+ name: "Composite",
+ className: "AlertProperties",
+ modelProperties: {
+ sendToOwners: {
+ serializedName: "sendToOwners",
+ type: {
+ name: "String"
+ }
+ },
+ customEmailAddresses: {
+ serializedName: "customEmailAddresses",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ locale: {
+ serializedName: "locale",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var Resource = {
+ serializedName: "Resource",
+ type: {
+ name: "Composite",
+ className: "Resource",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ readOnly: true,
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ readOnly: true,
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var Alert = {
+ serializedName: "Alert",
+ type: {
+ name: "Composite",
+ className: "Alert",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "AlertProperties"
+ }
+ } })
+ }
+ };
+ var ApplyRecoveryPointInputProperties = {
+ serializedName: "ApplyRecoveryPointInputProperties",
+ type: {
+ name: "Composite",
+ className: "ApplyRecoveryPointInputProperties",
+ modelProperties: {
+ recoveryPointId: {
+ serializedName: "recoveryPointId",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ApplyRecoveryPointProviderSpecificInput",
+ className: "ApplyRecoveryPointProviderSpecificInput"
+ }
+ }
+ }
+ }
+ };
+ var ApplyRecoveryPointInput = {
+ serializedName: "ApplyRecoveryPointInput",
+ type: {
+ name: "Composite",
+ className: "ApplyRecoveryPointInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ApplyRecoveryPointInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var JobDetails = {
+ serializedName: "JobDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "JobDetails",
+ className: "JobDetails",
+ modelProperties: {
+ affectedObjectDetails: {
+ serializedName: "affectedObjectDetails",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AsrJobDetails = {
+ serializedName: "AsrJobDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
+ uberParent: "JobDetails",
+ className: "AsrJobDetails",
+ modelProperties: __assign({}, JobDetails.type.modelProperties)
+ }
+ };
+ var TaskTypeDetails = {
+ serializedName: "TaskTypeDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "TaskTypeDetails",
+ className: "TaskTypeDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var GroupTaskDetails = {
+ serializedName: "GroupTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "GroupTaskDetails",
+ className: "GroupTaskDetails",
+ modelProperties: {
+ childTasks: {
+ serializedName: "childTasks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ASRTask"
+ }
+ }
+ }
+ },
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ServiceError = {
+ serializedName: "ServiceError",
+ type: {
+ name: "Composite",
+ className: "ServiceError",
+ modelProperties: {
+ code: {
+ serializedName: "code",
+ type: {
+ name: "String"
+ }
+ },
+ message: {
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ },
+ possibleCauses: {
+ serializedName: "possibleCauses",
+ type: {
+ name: "String"
+ }
+ },
+ recommendedAction: {
+ serializedName: "recommendedAction",
+ type: {
+ name: "String"
+ }
+ },
+ activityId: {
+ serializedName: "activityId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProviderError = {
+ serializedName: "ProviderError",
+ type: {
+ name: "Composite",
+ className: "ProviderError",
+ modelProperties: {
+ errorCode: {
+ serializedName: "errorCode",
+ type: {
+ name: "Number"
+ }
+ },
+ errorMessage: {
+ serializedName: "errorMessage",
+ type: {
+ name: "String"
+ }
+ },
+ errorId: {
+ serializedName: "errorId",
+ type: {
+ name: "String"
+ }
+ },
+ possibleCauses: {
+ serializedName: "possibleCauses",
+ type: {
+ name: "String"
+ }
+ },
+ recommendedAction: {
+ serializedName: "recommendedAction",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var JobErrorDetails = {
+ serializedName: "JobErrorDetails",
+ type: {
+ name: "Composite",
+ className: "JobErrorDetails",
+ modelProperties: {
+ serviceErrorDetails: {
+ serializedName: "serviceErrorDetails",
+ type: {
+ name: "Composite",
+ className: "ServiceError"
+ }
+ },
+ providerErrorDetails: {
+ serializedName: "providerErrorDetails",
+ type: {
+ name: "Composite",
+ className: "ProviderError"
+ }
+ },
+ errorLevel: {
+ serializedName: "errorLevel",
+ type: {
+ name: "String"
+ }
+ },
+ creationTime: {
+ serializedName: "creationTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ taskId: {
+ serializedName: "taskId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ASRTask = {
+ serializedName: "ASRTask",
+ type: {
+ name: "Composite",
+ className: "ASRTask",
+ modelProperties: {
+ taskId: {
+ serializedName: "taskId",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ endTime: {
+ serializedName: "endTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ allowedActions: {
+ serializedName: "allowedActions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ state: {
+ serializedName: "state",
+ type: {
+ name: "String"
+ }
+ },
+ stateDescription: {
+ serializedName: "stateDescription",
+ type: {
+ name: "String"
+ }
+ },
+ taskType: {
+ serializedName: "taskType",
+ type: {
+ name: "String"
+ }
+ },
+ customDetails: {
+ serializedName: "customDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "TaskTypeDetails",
+ className: "TaskTypeDetails"
+ }
+ },
+ groupTaskCustomDetails: {
+ serializedName: "groupTaskCustomDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "GroupTaskDetails",
+ className: "GroupTaskDetails"
+ }
+ },
+ errors: {
+ serializedName: "errors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "JobErrorDetails"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var AutomationRunbookTaskDetails = {
+ serializedName: "AutomationRunbookTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "AutomationRunbookTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ }, cloudServiceName: {
+ serializedName: "cloudServiceName",
+ type: {
+ name: "String"
+ }
+ }, subscriptionId: {
+ serializedName: "subscriptionId",
+ type: {
+ name: "String"
+ }
+ }, accountName: {
+ serializedName: "accountName",
+ type: {
+ name: "String"
+ }
+ }, runbookId: {
+ serializedName: "runbookId",
+ type: {
+ name: "String"
+ }
+ }, runbookName: {
+ serializedName: "runbookName",
+ type: {
+ name: "String"
+ }
+ }, jobId: {
+ serializedName: "jobId",
+ type: {
+ name: "String"
+ }
+ }, jobOutput: {
+ serializedName: "jobOutput",
+ type: {
+ name: "String"
+ }
+ }, isPrimarySideScript: {
+ serializedName: "isPrimarySideScript",
+ type: {
+ name: "Boolean"
+ }
+ } })
+ }
+ };
+ var FabricSpecificCreationInput = {
+ serializedName: "FabricSpecificCreationInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificCreationInput",
+ className: "FabricSpecificCreationInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AzureFabricCreationInput = {
+ serializedName: "Azure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificCreationInput",
+ className: "AzureFabricCreationInput",
+ modelProperties: __assign({}, FabricSpecificCreationInput.type.modelProperties, { location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var FabricSpecificDetails = {
+ serializedName: "FabricSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificDetails",
+ className: "FabricSpecificDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AzureFabricSpecificDetails = {
+ serializedName: "Azure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificDetails",
+ className: "AzureFabricSpecificDetails",
+ modelProperties: __assign({}, FabricSpecificDetails.type.modelProperties, { location: {
+ serializedName: "location",
+ type: {
+ name: "String"
+ }
+ }, containerIds: {
+ serializedName: "containerIds",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var FabricSpecificCreateNetworkMappingInput = {
+ serializedName: "FabricSpecificCreateNetworkMappingInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificCreateNetworkMappingInput",
+ className: "FabricSpecificCreateNetworkMappingInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AzureToAzureCreateNetworkMappingInput = {
+ serializedName: "AzureToAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificCreateNetworkMappingInput",
+ className: "AzureToAzureCreateNetworkMappingInput",
+ modelProperties: __assign({}, FabricSpecificCreateNetworkMappingInput.type.modelProperties, { primaryNetworkId: {
+ serializedName: "primaryNetworkId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var NetworkMappingFabricSpecificSettings = {
+ serializedName: "NetworkMappingFabricSpecificSettings",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "NetworkMappingFabricSpecificSettings",
+ className: "NetworkMappingFabricSpecificSettings",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AzureToAzureNetworkMappingSettings = {
+ serializedName: "AzureToAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "NetworkMappingFabricSpecificSettings",
+ className: "AzureToAzureNetworkMappingSettings",
+ modelProperties: __assign({}, NetworkMappingFabricSpecificSettings.type.modelProperties, { primaryFabricLocation: {
+ serializedName: "primaryFabricLocation",
+ type: {
+ name: "String"
+ }
+ }, recoveryFabricLocation: {
+ serializedName: "recoveryFabricLocation",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var FabricSpecificUpdateNetworkMappingInput = {
+ serializedName: "FabricSpecificUpdateNetworkMappingInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificUpdateNetworkMappingInput",
+ className: "FabricSpecificUpdateNetworkMappingInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AzureToAzureUpdateNetworkMappingInput = {
+ serializedName: "AzureToAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificUpdateNetworkMappingInput",
+ className: "AzureToAzureUpdateNetworkMappingInput",
+ modelProperties: __assign({}, FabricSpecificUpdateNetworkMappingInput.type.modelProperties, { primaryNetworkId: {
+ serializedName: "primaryNetworkId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var AzureVmDiskDetails = {
+ serializedName: "AzureVmDiskDetails",
+ type: {
+ name: "Composite",
+ className: "AzureVmDiskDetails",
+ modelProperties: {
+ vhdType: {
+ serializedName: "vhdType",
+ type: {
+ name: "String"
+ }
+ },
+ vhdId: {
+ serializedName: "vhdId",
+ type: {
+ name: "String"
+ }
+ },
+ vhdName: {
+ serializedName: "vhdName",
+ type: {
+ name: "String"
+ }
+ },
+ maxSizeMB: {
+ serializedName: "maxSizeMB",
+ type: {
+ name: "String"
+ }
+ },
+ targetDiskLocation: {
+ serializedName: "targetDiskLocation",
+ type: {
+ name: "String"
+ }
+ },
+ targetDiskName: {
+ serializedName: "targetDiskName",
+ type: {
+ name: "String"
+ }
+ },
+ lunId: {
+ serializedName: "lunId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ComputeSizeErrorDetails = {
+ serializedName: "ComputeSizeErrorDetails",
+ type: {
+ name: "Composite",
+ className: "ComputeSizeErrorDetails",
+ modelProperties: {
+ message: {
+ serializedName: "message",
+ type: {
+ name: "String"
+ }
+ },
+ severity: {
+ serializedName: "severity",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ConfigurationSettings = {
+ serializedName: "ConfigurationSettings",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ConfigurationSettings",
+ className: "ConfigurationSettings",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ConfigureAlertRequestProperties = {
+ serializedName: "ConfigureAlertRequestProperties",
+ type: {
+ name: "Composite",
+ className: "ConfigureAlertRequestProperties",
+ modelProperties: {
+ sendToOwners: {
+ serializedName: "sendToOwners",
+ type: {
+ name: "String"
+ }
+ },
+ customEmailAddresses: {
+ serializedName: "customEmailAddresses",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ locale: {
+ serializedName: "locale",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ConfigureAlertRequest = {
+ serializedName: "ConfigureAlertRequest",
+ type: {
+ name: "Composite",
+ className: "ConfigureAlertRequest",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ConfigureAlertRequestProperties"
+ }
+ }
+ }
+ }
+ };
+ var InconsistentVmDetails = {
+ serializedName: "InconsistentVmDetails",
+ type: {
+ name: "Composite",
+ className: "InconsistentVmDetails",
+ modelProperties: {
+ vmName: {
+ serializedName: "vmName",
+ type: {
+ name: "String"
+ }
+ },
+ cloudName: {
+ serializedName: "cloudName",
+ type: {
+ name: "String"
+ }
+ },
+ details: {
+ serializedName: "details",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ errorIds: {
+ serializedName: "errorIds",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var ConsistencyCheckTaskDetails = {
+ serializedName: "ConsistencyCheckTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "ConsistencyCheckTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { vmDetails: {
+ serializedName: "vmDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InconsistentVmDetails"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var CreateNetworkMappingInputProperties = {
+ serializedName: "CreateNetworkMappingInputProperties",
+ type: {
+ name: "Composite",
+ className: "CreateNetworkMappingInputProperties",
+ modelProperties: {
+ recoveryFabricName: {
+ serializedName: "recoveryFabricName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryNetworkId: {
+ serializedName: "recoveryNetworkId",
+ type: {
+ name: "String"
+ }
+ },
+ fabricSpecificDetails: {
+ serializedName: "fabricSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificCreateNetworkMappingInput",
+ className: "FabricSpecificCreateNetworkMappingInput"
+ }
+ }
+ }
+ }
+ };
+ var CreateNetworkMappingInput = {
+ serializedName: "CreateNetworkMappingInput",
+ type: {
+ name: "Composite",
+ className: "CreateNetworkMappingInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "CreateNetworkMappingInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var CreatePolicyInputProperties = {
+ serializedName: "CreatePolicyInputProperties",
+ type: {
+ name: "Composite",
+ className: "CreatePolicyInputProperties",
+ modelProperties: {
+ providerSpecificInput: {
+ serializedName: "providerSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "PolicyProviderSpecificInput",
+ className: "PolicyProviderSpecificInput"
+ }
+ }
+ }
+ }
+ };
+ var CreatePolicyInput = {
+ serializedName: "CreatePolicyInput",
+ type: {
+ name: "Composite",
+ className: "CreatePolicyInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "CreatePolicyInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var CreateProtectionContainerInputProperties = {
+ serializedName: "CreateProtectionContainerInputProperties",
+ type: {
+ name: "Composite",
+ className: "CreateProtectionContainerInputProperties",
+ modelProperties: {
+ providerSpecificInput: {
+ serializedName: "providerSpecificInput",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificContainerCreationInput",
+ className: "ReplicationProviderSpecificContainerCreationInput"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var CreateProtectionContainerInput = {
+ serializedName: "CreateProtectionContainerInput",
+ type: {
+ name: "Composite",
+ className: "CreateProtectionContainerInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "CreateProtectionContainerInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var CreateProtectionContainerMappingInputProperties = {
+ serializedName: "CreateProtectionContainerMappingInputProperties",
+ type: {
+ name: "Composite",
+ className: "CreateProtectionContainerMappingInputProperties",
+ modelProperties: {
+ targetProtectionContainerId: {
+ serializedName: "targetProtectionContainerId",
+ type: {
+ name: "String"
+ }
+ },
+ policyId: {
+ serializedName: "policyId",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificInput: {
+ serializedName: "providerSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificContainerMappingInput",
+ className: "ReplicationProviderSpecificContainerMappingInput"
+ }
+ }
+ }
+ }
+ };
+ var CreateProtectionContainerMappingInput = {
+ serializedName: "CreateProtectionContainerMappingInput",
+ type: {
+ name: "Composite",
+ className: "CreateProtectionContainerMappingInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "CreateProtectionContainerMappingInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanProtectedItem = {
+ serializedName: "RecoveryPlanProtectedItem",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanProtectedItem",
+ modelProperties: {
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ virtualMachineId: {
+ serializedName: "virtualMachineId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanActionDetails = {
+ serializedName: "RecoveryPlanActionDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "RecoveryPlanActionDetails",
+ className: "RecoveryPlanActionDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanAction = {
+ serializedName: "RecoveryPlanAction",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanAction",
+ modelProperties: {
+ actionName: {
+ required: true,
+ serializedName: "actionName",
+ type: {
+ name: "String"
+ }
+ },
+ failoverTypes: {
+ required: true,
+ serializedName: "failoverTypes",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ failoverDirections: {
+ required: true,
+ serializedName: "failoverDirections",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ customDetails: {
+ required: true,
+ serializedName: "customDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "RecoveryPlanActionDetails",
+ className: "RecoveryPlanActionDetails"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanGroup = {
+ serializedName: "RecoveryPlanGroup",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanGroup",
+ modelProperties: {
+ groupType: {
+ required: true,
+ serializedName: "groupType",
+ type: {
+ name: "String"
+ }
+ },
+ replicationProtectedItems: {
+ serializedName: "replicationProtectedItems",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanProtectedItem"
+ }
+ }
+ }
+ },
+ startGroupActions: {
+ serializedName: "startGroupActions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanAction"
+ }
+ }
+ }
+ },
+ endGroupActions: {
+ serializedName: "endGroupActions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanAction"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var CreateRecoveryPlanInputProperties = {
+ serializedName: "CreateRecoveryPlanInputProperties",
+ type: {
+ name: "Composite",
+ className: "CreateRecoveryPlanInputProperties",
+ modelProperties: {
+ primaryFabricId: {
+ required: true,
+ serializedName: "primaryFabricId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryFabricId: {
+ required: true,
+ serializedName: "recoveryFabricId",
+ type: {
+ name: "String"
+ }
+ },
+ failoverDeploymentModel: {
+ serializedName: "failoverDeploymentModel",
+ type: {
+ name: "String"
+ }
+ },
+ groups: {
+ required: true,
+ serializedName: "groups",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var CreateRecoveryPlanInput = {
+ serializedName: "CreateRecoveryPlanInput",
+ type: {
+ name: "Composite",
+ className: "CreateRecoveryPlanInput",
+ modelProperties: {
+ properties: {
+ required: true,
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "CreateRecoveryPlanInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var CurrentScenarioDetails = {
+ serializedName: "CurrentScenarioDetails",
+ type: {
+ name: "Composite",
+ className: "CurrentScenarioDetails",
+ modelProperties: {
+ scenarioName: {
+ serializedName: "scenarioName",
+ type: {
+ name: "String"
+ }
+ },
+ jobId: {
+ serializedName: "jobId",
+ type: {
+ name: "String"
+ }
+ },
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+ };
+ var DataStore = {
+ serializedName: "DataStore",
+ type: {
+ name: "Composite",
+ className: "DataStore",
+ modelProperties: {
+ symbolicName: {
+ serializedName: "symbolicName",
+ type: {
+ name: "String"
+ }
+ },
+ uuid: {
+ serializedName: "uuid",
+ type: {
+ name: "String"
+ }
+ },
+ capacity: {
+ serializedName: "capacity",
+ type: {
+ name: "String"
+ }
+ },
+ freeSpace: {
+ serializedName: "freeSpace",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var DisableProtectionProviderSpecificInput = {
+ serializedName: "DisableProtectionProviderSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "DisableProtectionProviderSpecificInput",
+ className: "DisableProtectionProviderSpecificInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var DisableProtectionInputProperties = {
+ serializedName: "DisableProtectionInputProperties",
+ type: {
+ name: "Composite",
+ className: "DisableProtectionInputProperties",
+ modelProperties: {
+ disableProtectionReason: {
+ serializedName: "disableProtectionReason",
+ type: {
+ name: "String"
+ }
+ },
+ replicationProviderInput: {
+ serializedName: "replicationProviderInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "DisableProtectionProviderSpecificInput",
+ className: "DisableProtectionProviderSpecificInput"
+ }
+ }
+ }
+ }
+ };
+ var DisableProtectionInput = {
+ serializedName: "DisableProtectionInput",
+ type: {
+ name: "Composite",
+ className: "DisableProtectionInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "DisableProtectionInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var DiscoverProtectableItemRequestProperties = {
+ serializedName: "DiscoverProtectableItemRequestProperties",
+ type: {
+ name: "Composite",
+ className: "DiscoverProtectableItemRequestProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ },
+ osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var DiscoverProtectableItemRequest = {
+ serializedName: "DiscoverProtectableItemRequest",
+ type: {
+ name: "Composite",
+ className: "DiscoverProtectableItemRequest",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "DiscoverProtectableItemRequestProperties"
+ }
+ }
+ }
+ }
+ };
+ var DiskDetails = {
+ serializedName: "DiskDetails",
+ type: {
+ name: "Composite",
+ className: "DiskDetails",
+ modelProperties: {
+ maxSizeMB: {
+ serializedName: "maxSizeMB",
+ type: {
+ name: "Number"
+ }
+ },
+ vhdType: {
+ serializedName: "vhdType",
+ type: {
+ name: "String"
+ }
+ },
+ vhdId: {
+ serializedName: "vhdId",
+ type: {
+ name: "String"
+ }
+ },
+ vhdName: {
+ serializedName: "vhdName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var DiskVolumeDetails = {
+ serializedName: "DiskVolumeDetails",
+ type: {
+ name: "Composite",
+ className: "DiskVolumeDetails",
+ modelProperties: {
+ label: {
+ serializedName: "label",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var Display = {
+ serializedName: "Display",
+ type: {
+ name: "Composite",
+ className: "Display",
+ modelProperties: {
+ provider: {
+ serializedName: "provider",
+ type: {
+ name: "String"
+ }
+ },
+ resource: {
+ serializedName: "resource",
+ type: {
+ name: "String"
+ }
+ },
+ operation: {
+ serializedName: "operation",
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ serializedName: "description",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var EnableProtectionInputProperties = {
+ serializedName: "EnableProtectionInputProperties",
+ type: {
+ name: "Composite",
+ className: "EnableProtectionInputProperties",
+ modelProperties: {
+ policyId: {
+ serializedName: "policyId",
+ type: {
+ name: "String"
+ }
+ },
+ protectableItemId: {
+ serializedName: "protectableItemId",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "EnableProtectionProviderSpecificInput",
+ className: "EnableProtectionProviderSpecificInput"
+ }
+ }
+ }
+ }
+ };
+ var EnableProtectionInput = {
+ serializedName: "EnableProtectionInput",
+ type: {
+ name: "Composite",
+ className: "EnableProtectionInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "EnableProtectionInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var EncryptionDetails = {
+ serializedName: "EncryptionDetails",
+ type: {
+ name: "Composite",
+ className: "EncryptionDetails",
+ modelProperties: {
+ kekState: {
+ serializedName: "kekState",
+ type: {
+ name: "String"
+ }
+ },
+ kekCertThumbprint: {
+ serializedName: "kekCertThumbprint",
+ type: {
+ name: "String"
+ }
+ },
+ kekCertExpiryDate: {
+ serializedName: "kekCertExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+ };
+ var EventSpecificDetails = {
+ serializedName: "EventSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "EventSpecificDetails",
+ className: "EventSpecificDetails",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var InnerHealthError = {
+ serializedName: "InnerHealthError",
+ type: {
+ name: "Composite",
+ className: "InnerHealthError",
+ modelProperties: {
+ errorSource: {
+ serializedName: "errorSource",
+ type: {
+ name: "String"
+ }
+ },
+ errorType: {
+ serializedName: "errorType",
+ type: {
+ name: "String"
+ }
+ },
+ errorLevel: {
+ serializedName: "errorLevel",
+ type: {
+ name: "String"
+ }
+ },
+ errorCategory: {
+ serializedName: "errorCategory",
+ type: {
+ name: "String"
+ }
+ },
+ errorCode: {
+ serializedName: "errorCode",
+ type: {
+ name: "String"
+ }
+ },
+ summaryMessage: {
+ serializedName: "summaryMessage",
+ type: {
+ name: "String"
+ }
+ },
+ errorMessage: {
+ serializedName: "errorMessage",
+ type: {
+ name: "String"
+ }
+ },
+ possibleCauses: {
+ serializedName: "possibleCauses",
+ type: {
+ name: "String"
+ }
+ },
+ recommendedAction: {
+ serializedName: "recommendedAction",
+ type: {
+ name: "String"
+ }
+ },
+ creationTimeUtc: {
+ serializedName: "creationTimeUtc",
+ type: {
+ name: "DateTime"
+ }
+ },
+ recoveryProviderErrorMessage: {
+ serializedName: "recoveryProviderErrorMessage",
+ type: {
+ name: "String"
+ }
+ },
+ entityId: {
+ serializedName: "entityId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var HealthError = {
+ serializedName: "HealthError",
+ type: {
+ name: "Composite",
+ className: "HealthError",
+ modelProperties: {
+ innerHealthErrors: {
+ serializedName: "innerHealthErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InnerHealthError"
+ }
+ }
+ }
+ },
+ errorSource: {
+ serializedName: "errorSource",
+ type: {
+ name: "String"
+ }
+ },
+ errorType: {
+ serializedName: "errorType",
+ type: {
+ name: "String"
+ }
+ },
+ errorLevel: {
+ serializedName: "errorLevel",
+ type: {
+ name: "String"
+ }
+ },
+ errorCategory: {
+ serializedName: "errorCategory",
+ type: {
+ name: "String"
+ }
+ },
+ errorCode: {
+ serializedName: "errorCode",
+ type: {
+ name: "String"
+ }
+ },
+ summaryMessage: {
+ serializedName: "summaryMessage",
+ type: {
+ name: "String"
+ }
+ },
+ errorMessage: {
+ serializedName: "errorMessage",
+ type: {
+ name: "String"
+ }
+ },
+ possibleCauses: {
+ serializedName: "possibleCauses",
+ type: {
+ name: "String"
+ }
+ },
+ recommendedAction: {
+ serializedName: "recommendedAction",
+ type: {
+ name: "String"
+ }
+ },
+ creationTimeUtc: {
+ serializedName: "creationTimeUtc",
+ type: {
+ name: "DateTime"
+ }
+ },
+ recoveryProviderErrorMessage: {
+ serializedName: "recoveryProviderErrorMessage",
+ type: {
+ name: "String"
+ }
+ },
+ entityId: {
+ serializedName: "entityId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var EventProperties = {
+ serializedName: "EventProperties",
+ type: {
+ name: "Composite",
+ className: "EventProperties",
+ modelProperties: {
+ eventCode: {
+ serializedName: "eventCode",
+ type: {
+ name: "String"
+ }
+ },
+ description: {
+ serializedName: "description",
+ type: {
+ name: "String"
+ }
+ },
+ eventType: {
+ serializedName: "eventType",
+ type: {
+ name: "String"
+ }
+ },
+ affectedObjectFriendlyName: {
+ serializedName: "affectedObjectFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ severity: {
+ serializedName: "severity",
+ type: {
+ name: "String"
+ }
+ },
+ timeOfOccurrence: {
+ serializedName: "timeOfOccurrence",
+ type: {
+ name: "DateTime"
+ }
+ },
+ fabricId: {
+ serializedName: "fabricId",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "EventProviderSpecificDetails",
+ className: "EventProviderSpecificDetails"
+ }
+ },
+ eventSpecificDetails: {
+ serializedName: "eventSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "EventSpecificDetails",
+ className: "EventSpecificDetails"
+ }
+ },
+ healthErrors: {
+ serializedName: "healthErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var Event = {
+ serializedName: "Event",
+ type: {
+ name: "Composite",
+ className: "Event",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "EventProperties"
+ }
+ } })
+ }
+ };
+ var EventQueryParameter = {
+ serializedName: "EventQueryParameter",
+ type: {
+ name: "Composite",
+ className: "EventQueryParameter",
+ modelProperties: {
+ eventCode: {
+ serializedName: "eventCode",
+ type: {
+ name: "String"
+ }
+ },
+ severity: {
+ serializedName: "severity",
+ type: {
+ name: "String"
+ }
+ },
+ eventType: {
+ serializedName: "eventType",
+ type: {
+ name: "String"
+ }
+ },
+ fabricName: {
+ serializedName: "fabricName",
+ type: {
+ name: "String"
+ }
+ },
+ affectedObjectFriendlyName: {
+ serializedName: "affectedObjectFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ endTime: {
+ serializedName: "endTime",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+ };
+ var ExportJobDetails = {
+ serializedName: "ExportJobDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
+ uberParent: "JobDetails",
+ className: "ExportJobDetails",
+ modelProperties: __assign({}, JobDetails.type.modelProperties, { blobUri: {
+ serializedName: "blobUri",
+ type: {
+ name: "String"
+ }
+ }, sasToken: {
+ serializedName: "sasToken",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var FabricProperties = {
+ serializedName: "FabricProperties",
+ type: {
+ name: "Composite",
+ className: "FabricProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ encryptionDetails: {
+ serializedName: "encryptionDetails",
+ type: {
+ name: "Composite",
+ className: "EncryptionDetails"
+ }
+ },
+ rolloverEncryptionDetails: {
+ serializedName: "rolloverEncryptionDetails",
+ type: {
+ name: "Composite",
+ className: "EncryptionDetails"
+ }
+ },
+ internalIdentifier: {
+ serializedName: "internalIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ bcdrState: {
+ serializedName: "bcdrState",
+ type: {
+ name: "String"
+ }
+ },
+ customDetails: {
+ serializedName: "customDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificDetails",
+ className: "FabricSpecificDetails"
+ }
+ },
+ healthErrorDetails: {
+ serializedName: "healthErrorDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ health: {
+ serializedName: "health",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var Fabric = {
+ serializedName: "Fabric",
+ type: {
+ name: "Composite",
+ className: "Fabric",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "FabricProperties"
+ }
+ } })
+ }
+ };
+ var FabricCreationInputProperties = {
+ serializedName: "FabricCreationInputProperties",
+ type: {
+ name: "Composite",
+ className: "FabricCreationInputProperties",
+ modelProperties: {
+ customDetails: {
+ serializedName: "customDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificCreationInput",
+ className: "FabricSpecificCreationInput"
+ }
+ }
+ }
+ }
+ };
+ var FabricCreationInput = {
+ serializedName: "FabricCreationInput",
+ type: {
+ name: "Composite",
+ className: "FabricCreationInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "FabricCreationInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var JobEntity = {
+ serializedName: "JobEntity",
+ type: {
+ name: "Composite",
+ className: "JobEntity",
+ modelProperties: {
+ jobId: {
+ serializedName: "jobId",
+ type: {
+ name: "String"
+ }
+ },
+ jobFriendlyName: {
+ serializedName: "jobFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ targetObjectId: {
+ serializedName: "targetObjectId",
+ type: {
+ name: "String"
+ }
+ },
+ targetObjectName: {
+ serializedName: "targetObjectName",
+ type: {
+ name: "String"
+ }
+ },
+ targetInstanceType: {
+ serializedName: "targetInstanceType",
+ type: {
+ name: "String"
+ }
+ },
+ jobScenarioName: {
+ serializedName: "jobScenarioName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var FabricReplicationGroupTaskDetails = {
+ serializedName: "FabricReplicationGroupTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "FabricReplicationGroupTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { skippedReason: {
+ serializedName: "skippedReason",
+ type: {
+ name: "String"
+ }
+ }, skippedReasonString: {
+ serializedName: "skippedReasonString",
+ type: {
+ name: "String"
+ }
+ }, jobTask: {
+ serializedName: "jobTask",
+ type: {
+ name: "Composite",
+ className: "JobEntity"
+ }
+ } })
+ }
+ };
+ var FailoverReplicationProtectedItemDetails = {
+ serializedName: "FailoverReplicationProtectedItemDetails",
+ type: {
+ name: "Composite",
+ className: "FailoverReplicationProtectedItemDetails",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ testVmName: {
+ serializedName: "testVmName",
+ type: {
+ name: "String"
+ }
+ },
+ testVmFriendlyName: {
+ serializedName: "testVmFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ networkConnectionStatus: {
+ serializedName: "networkConnectionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ networkFriendlyName: {
+ serializedName: "networkFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ subnet: {
+ serializedName: "subnet",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryPointId: {
+ serializedName: "recoveryPointId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryPointTime: {
+ serializedName: "recoveryPointTime",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+ };
+ var FailoverJobDetails = {
+ serializedName: "FailoverJobDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
+ uberParent: "JobDetails",
+ className: "FailoverJobDetails",
+ modelProperties: __assign({}, JobDetails.type.modelProperties, { protectedItemDetails: {
+ serializedName: "protectedItemDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "FailoverReplicationProtectedItemDetails"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var FailoverProcessServerRequestProperties = {
+ serializedName: "FailoverProcessServerRequestProperties",
+ type: {
+ name: "Composite",
+ className: "FailoverProcessServerRequestProperties",
+ modelProperties: {
+ containerName: {
+ serializedName: "containerName",
+ type: {
+ name: "String"
+ }
+ },
+ sourceProcessServerId: {
+ serializedName: "sourceProcessServerId",
+ type: {
+ name: "String"
+ }
+ },
+ targetProcessServerId: {
+ serializedName: "targetProcessServerId",
+ type: {
+ name: "String"
+ }
+ },
+ vmsToMigrate: {
+ serializedName: "vmsToMigrate",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ updateType: {
+ serializedName: "updateType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var FailoverProcessServerRequest = {
+ serializedName: "FailoverProcessServerRequest",
+ type: {
+ name: "Composite",
+ className: "FailoverProcessServerRequest",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "FailoverProcessServerRequestProperties"
+ }
+ }
+ }
+ }
+ };
+ var HealthErrorSummary = {
+ serializedName: "HealthErrorSummary",
+ type: {
+ name: "Composite",
+ className: "HealthErrorSummary",
+ modelProperties: {
+ summaryCode: {
+ serializedName: "summaryCode",
+ type: {
+ name: "String"
+ }
+ },
+ category: {
+ serializedName: "category",
+ type: {
+ name: "String"
+ }
+ },
+ severity: {
+ serializedName: "severity",
+ type: {
+ name: "String"
+ }
+ },
+ summaryMessage: {
+ serializedName: "summaryMessage",
+ type: {
+ name: "String"
+ }
+ },
+ affectedResourceType: {
+ serializedName: "affectedResourceType",
+ type: {
+ name: "String"
+ }
+ },
+ affectedResourceSubtype: {
+ serializedName: "affectedResourceSubtype",
+ type: {
+ name: "String"
+ }
+ },
+ affectedResourceCorrelationIds: {
+ serializedName: "affectedResourceCorrelationIds",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var HyperVReplica2012EventDetails = {
+ serializedName: "HyperVReplica2012",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "EventProviderSpecificDetails",
+ className: "HyperVReplica2012EventDetails",
+ modelProperties: __assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {
+ serializedName: "containerName",
+ type: {
+ name: "String"
+ }
+ }, fabricName: {
+ serializedName: "fabricName",
+ type: {
+ name: "String"
+ }
+ }, remoteContainerName: {
+ serializedName: "remoteContainerName",
+ type: {
+ name: "String"
+ }
+ }, remoteFabricName: {
+ serializedName: "remoteFabricName",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplica2012R2EventDetails = {
+ serializedName: "HyperVReplica2012R2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "EventProviderSpecificDetails",
+ className: "HyperVReplica2012R2EventDetails",
+ modelProperties: __assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {
+ serializedName: "containerName",
+ type: {
+ name: "String"
+ }
+ }, fabricName: {
+ serializedName: "fabricName",
+ type: {
+ name: "String"
+ }
+ }, remoteContainerName: {
+ serializedName: "remoteContainerName",
+ type: {
+ name: "String"
+ }
+ }, remoteFabricName: {
+ serializedName: "remoteFabricName",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzureApplyRecoveryPointInput = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "ApplyRecoveryPointProviderSpecificInput",
+ className: "HyperVReplicaAzureApplyRecoveryPointInput",
+ modelProperties: __assign({}, ApplyRecoveryPointProviderSpecificInput.type.modelProperties, { vaultLocation: {
+ serializedName: "vaultLocation",
+ type: {
+ name: "String"
+ }
+ }, primaryKekCertificatePfx: {
+ serializedName: "primaryKekCertificatePfx",
+ type: {
+ name: "String"
+ }
+ }, secondaryKekCertificatePfx: {
+ serializedName: "secondaryKekCertificatePfx",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzureEnableProtectionInput = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "EnableProtectionProviderSpecificInput",
+ className: "HyperVReplicaAzureEnableProtectionInput",
+ modelProperties: __assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { hvHostVmId: {
+ serializedName: "hvHostVmId",
+ type: {
+ name: "String"
+ }
+ }, vmName: {
+ serializedName: "vmName",
+ type: {
+ name: "String"
+ }
+ }, osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ }, vhdId: {
+ serializedName: "vhdId",
+ type: {
+ name: "String"
+ }
+ }, targetStorageAccountId: {
+ serializedName: "targetStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, targetAzureNetworkId: {
+ serializedName: "targetAzureNetworkId",
+ type: {
+ name: "String"
+ }
+ }, targetAzureSubnetId: {
+ serializedName: "targetAzureSubnetId",
+ type: {
+ name: "String"
+ }
+ }, enableRdpOnTargetOption: {
+ serializedName: "enableRdpOnTargetOption",
+ type: {
+ name: "String"
+ }
+ }, targetAzureVmName: {
+ serializedName: "targetAzureVmName",
+ type: {
+ name: "String"
+ }
+ }, logStorageAccountId: {
+ serializedName: "logStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, disksToInclude: {
+ serializedName: "disksToInclude",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }, targetAzureV1ResourceGroupId: {
+ serializedName: "targetAzureV1ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, targetAzureV2ResourceGroupId: {
+ serializedName: "targetAzureV2ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, useManagedDisks: {
+ serializedName: "useManagedDisks",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzureEventDetails = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "EventProviderSpecificDetails",
+ className: "HyperVReplicaAzureEventDetails",
+ modelProperties: __assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {
+ serializedName: "containerName",
+ type: {
+ name: "String"
+ }
+ }, fabricName: {
+ serializedName: "fabricName",
+ type: {
+ name: "String"
+ }
+ }, remoteContainerName: {
+ serializedName: "remoteContainerName",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzureFailbackProviderInput = {
+ serializedName: "HyperVReplicaAzureFailback",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "HyperVReplicaAzureFailbackProviderInput",
+ modelProperties: __assign({}, ProviderSpecificFailoverInput.type.modelProperties, { dataSyncOption: {
+ serializedName: "dataSyncOption",
+ type: {
+ name: "String"
+ }
+ }, recoveryVmCreationOption: {
+ serializedName: "recoveryVmCreationOption",
+ type: {
+ name: "String"
+ }
+ }, providerIdForAlternateRecovery: {
+ serializedName: "providerIdForAlternateRecovery",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzureFailoverProviderInput = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "HyperVReplicaAzureFailoverProviderInput",
+ modelProperties: __assign({}, ProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {
+ serializedName: "vaultLocation",
+ type: {
+ name: "String"
+ }
+ }, primaryKekCertificatePfx: {
+ serializedName: "primaryKekCertificatePfx",
+ type: {
+ name: "String"
+ }
+ }, secondaryKekCertificatePfx: {
+ serializedName: "secondaryKekCertificatePfx",
+ type: {
+ name: "String"
+ }
+ }, recoveryPointId: {
+ serializedName: "recoveryPointId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzurePolicyDetails = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "HyperVReplicaAzurePolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointHistoryDurationInHours: {
+ serializedName: "recoveryPointHistoryDurationInHours",
+ type: {
+ name: "Number"
+ }
+ }, applicationConsistentSnapshotFrequencyInHours: {
+ serializedName: "applicationConsistentSnapshotFrequencyInHours",
+ type: {
+ name: "Number"
+ }
+ }, replicationInterval: {
+ serializedName: "replicationInterval",
+ type: {
+ name: "Number"
+ }
+ }, onlineReplicationStartTime: {
+ serializedName: "onlineReplicationStartTime",
+ type: {
+ name: "String"
+ }
+ }, encryption: {
+ serializedName: "encryption",
+ type: {
+ name: "String"
+ }
+ }, activeStorageAccountId: {
+ serializedName: "activeStorageAccountId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzurePolicyInput = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificInput",
+ className: "HyperVReplicaAzurePolicyInput",
+ modelProperties: __assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointHistoryDuration: {
+ serializedName: "recoveryPointHistoryDuration",
+ type: {
+ name: "Number"
+ }
+ }, applicationConsistentSnapshotFrequencyInHours: {
+ serializedName: "applicationConsistentSnapshotFrequencyInHours",
+ type: {
+ name: "Number"
+ }
+ }, replicationInterval: {
+ serializedName: "replicationInterval",
+ type: {
+ name: "Number"
+ }
+ }, onlineReplicationStartTime: {
+ serializedName: "onlineReplicationStartTime",
+ type: {
+ name: "String"
+ }
+ }, storageAccounts: {
+ serializedName: "storageAccounts",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var InitialReplicationDetails = {
+ serializedName: "InitialReplicationDetails",
+ type: {
+ name: "Composite",
+ className: "InitialReplicationDetails",
+ modelProperties: {
+ initialReplicationType: {
+ serializedName: "initialReplicationType",
+ type: {
+ name: "String"
+ }
+ },
+ initialReplicationProgressPercentage: {
+ serializedName: "initialReplicationProgressPercentage",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var OSDetails = {
+ serializedName: "OSDetails",
+ type: {
+ name: "Composite",
+ className: "OSDetails",
+ modelProperties: {
+ osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ },
+ productType: {
+ serializedName: "productType",
+ type: {
+ name: "String"
+ }
+ },
+ osEdition: {
+ serializedName: "osEdition",
+ type: {
+ name: "String"
+ }
+ },
+ oSVersion: {
+ serializedName: "oSVersion",
+ type: {
+ name: "String"
+ }
+ },
+ oSMajorVersion: {
+ serializedName: "oSMajorVersion",
+ type: {
+ name: "String"
+ }
+ },
+ oSMinorVersion: {
+ serializedName: "oSMinorVersion",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var HyperVReplicaAzureReplicationDetails = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "HyperVReplicaAzureReplicationDetails",
+ modelProperties: __assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { azureVmDiskDetails: {
+ serializedName: "azureVmDiskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureVmDiskDetails"
+ }
+ }
+ }
+ }, recoveryAzureVmName: {
+ serializedName: "recoveryAzureVmName",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureVMSize: {
+ serializedName: "recoveryAzureVMSize",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureStorageAccount: {
+ serializedName: "recoveryAzureStorageAccount",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureLogStorageAccountId: {
+ serializedName: "recoveryAzureLogStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, lastReplicatedTime: {
+ serializedName: "lastReplicatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, rpoInSeconds: {
+ serializedName: "rpoInSeconds",
+ type: {
+ name: "Number"
+ }
+ }, lastRpoCalculatedTime: {
+ serializedName: "lastRpoCalculatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionState: {
+ serializedName: "vmProtectionState",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionStateDescription: {
+ serializedName: "vmProtectionStateDescription",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationDetails: {
+ serializedName: "initialReplicationDetails",
+ type: {
+ name: "Composite",
+ className: "InitialReplicationDetails"
+ }
+ }, vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicDetails"
+ }
+ }
+ }
+ }, selectedRecoveryAzureNetworkId: {
+ serializedName: "selectedRecoveryAzureNetworkId",
+ type: {
+ name: "String"
+ }
+ }, selectedSourceNicId: {
+ serializedName: "selectedSourceNicId",
+ type: {
+ name: "String"
+ }
+ }, encryption: {
+ serializedName: "encryption",
+ type: {
+ name: "String"
+ }
+ }, oSDetails: {
+ serializedName: "oSDetails",
+ type: {
+ name: "Composite",
+ className: "OSDetails"
+ }
+ }, sourceVmRamSizeInMB: {
+ serializedName: "sourceVmRamSizeInMB",
+ type: {
+ name: "Number"
+ }
+ }, sourceVmCpuCount: {
+ serializedName: "sourceVmCpuCount",
+ type: {
+ name: "Number"
+ }
+ }, enableRdpOnTargetOption: {
+ serializedName: "enableRdpOnTargetOption",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureResourceGroupId: {
+ serializedName: "recoveryAzureResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAvailabilitySetId: {
+ serializedName: "recoveryAvailabilitySetId",
+ type: {
+ name: "String"
+ }
+ }, useManagedDisks: {
+ serializedName: "useManagedDisks",
+ type: {
+ name: "String"
+ }
+ }, licenseType: {
+ serializedName: "licenseType",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzureReprotectInput = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "ReverseReplicationProviderSpecificInput",
+ className: "HyperVReplicaAzureReprotectInput",
+ modelProperties: __assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { hvHostVmId: {
+ serializedName: "hvHostVmId",
+ type: {
+ name: "String"
+ }
+ }, vmName: {
+ serializedName: "vmName",
+ type: {
+ name: "String"
+ }
+ }, osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ }, vHDId: {
+ serializedName: "vHDId",
+ type: {
+ name: "String"
+ }
+ }, storageAccountId: {
+ serializedName: "storageAccountId",
+ type: {
+ name: "String"
+ }
+ }, logStorageAccountId: {
+ serializedName: "logStorageAccountId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaAzureUpdateReplicationProtectedItemInput = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator,
+ uberParent: "UpdateReplicationProtectedItemProviderInput",
+ className: "HyperVReplicaAzureUpdateReplicationProtectedItemInput",
+ modelProperties: __assign({}, UpdateReplicationProtectedItemProviderInput.type.modelProperties, { recoveryAzureV1ResourceGroupId: {
+ serializedName: "recoveryAzureV1ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureV2ResourceGroupId: {
+ serializedName: "recoveryAzureV2ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, useManagedDisks: {
+ serializedName: "useManagedDisks",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaBaseEventDetails = {
+ serializedName: "HyperVReplicaBaseEventDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "EventProviderSpecificDetails",
+ className: "HyperVReplicaBaseEventDetails",
+ modelProperties: __assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {
+ serializedName: "containerName",
+ type: {
+ name: "String"
+ }
+ }, fabricName: {
+ serializedName: "fabricName",
+ type: {
+ name: "String"
+ }
+ }, remoteContainerName: {
+ serializedName: "remoteContainerName",
+ type: {
+ name: "String"
+ }
+ }, remoteFabricName: {
+ serializedName: "remoteFabricName",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaBasePolicyDetails = {
+ serializedName: "HyperVReplicaBasePolicyDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "HyperVReplicaBasePolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPoints: {
+ serializedName: "recoveryPoints",
+ type: {
+ name: "Number"
+ }
+ }, applicationConsistentSnapshotFrequencyInHours: {
+ serializedName: "applicationConsistentSnapshotFrequencyInHours",
+ type: {
+ name: "Number"
+ }
+ }, compression: {
+ serializedName: "compression",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationMethod: {
+ serializedName: "initialReplicationMethod",
+ type: {
+ name: "String"
+ }
+ }, onlineReplicationStartTime: {
+ serializedName: "onlineReplicationStartTime",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationImportPath: {
+ serializedName: "offlineReplicationImportPath",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationExportPath: {
+ serializedName: "offlineReplicationExportPath",
+ type: {
+ name: "String"
+ }
+ }, replicationPort: {
+ serializedName: "replicationPort",
+ type: {
+ name: "Number"
+ }
+ }, allowedAuthenticationType: {
+ serializedName: "allowedAuthenticationType",
+ type: {
+ name: "Number"
+ }
+ }, replicaDeletionOption: {
+ serializedName: "replicaDeletionOption",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaBaseReplicationDetails = {
+ serializedName: "HyperVReplicaBaseReplicationDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "HyperVReplicaBaseReplicationDetails",
+ modelProperties: __assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { lastReplicatedTime: {
+ serializedName: "lastReplicatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicDetails"
+ }
+ }
+ }
+ }, vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionState: {
+ serializedName: "vmProtectionState",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionStateDescription: {
+ serializedName: "vmProtectionStateDescription",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationDetails: {
+ serializedName: "initialReplicationDetails",
+ type: {
+ name: "Composite",
+ className: "InitialReplicationDetails"
+ }
+ }, vMDiskDetails: {
+ serializedName: "vMDiskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskDetails"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var HyperVReplicaBluePolicyDetails = {
+ serializedName: "HyperVReplica2012R2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "HyperVReplicaBluePolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { replicationFrequencyInSeconds: {
+ serializedName: "replicationFrequencyInSeconds",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPoints: {
+ serializedName: "recoveryPoints",
+ type: {
+ name: "Number"
+ }
+ }, applicationConsistentSnapshotFrequencyInHours: {
+ serializedName: "applicationConsistentSnapshotFrequencyInHours",
+ type: {
+ name: "Number"
+ }
+ }, compression: {
+ serializedName: "compression",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationMethod: {
+ serializedName: "initialReplicationMethod",
+ type: {
+ name: "String"
+ }
+ }, onlineReplicationStartTime: {
+ serializedName: "onlineReplicationStartTime",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationImportPath: {
+ serializedName: "offlineReplicationImportPath",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationExportPath: {
+ serializedName: "offlineReplicationExportPath",
+ type: {
+ name: "String"
+ }
+ }, replicationPort: {
+ serializedName: "replicationPort",
+ type: {
+ name: "Number"
+ }
+ }, allowedAuthenticationType: {
+ serializedName: "allowedAuthenticationType",
+ type: {
+ name: "Number"
+ }
+ }, replicaDeletionOption: {
+ serializedName: "replicaDeletionOption",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaBluePolicyInput = {
+ serializedName: "HyperVReplica2012R2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificInput",
+ className: "HyperVReplicaBluePolicyInput",
+ modelProperties: __assign({}, PolicyProviderSpecificInput.type.modelProperties, { replicationFrequencyInSeconds: {
+ serializedName: "replicationFrequencyInSeconds",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPoints: {
+ serializedName: "recoveryPoints",
+ type: {
+ name: "Number"
+ }
+ }, applicationConsistentSnapshotFrequencyInHours: {
+ serializedName: "applicationConsistentSnapshotFrequencyInHours",
+ type: {
+ name: "Number"
+ }
+ }, compression: {
+ serializedName: "compression",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationMethod: {
+ serializedName: "initialReplicationMethod",
+ type: {
+ name: "String"
+ }
+ }, onlineReplicationStartTime: {
+ serializedName: "onlineReplicationStartTime",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationImportPath: {
+ serializedName: "offlineReplicationImportPath",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationExportPath: {
+ serializedName: "offlineReplicationExportPath",
+ type: {
+ name: "String"
+ }
+ }, replicationPort: {
+ serializedName: "replicationPort",
+ type: {
+ name: "Number"
+ }
+ }, allowedAuthenticationType: {
+ serializedName: "allowedAuthenticationType",
+ type: {
+ name: "Number"
+ }
+ }, replicaDeletion: {
+ serializedName: "replicaDeletion",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaBlueReplicationDetails = {
+ serializedName: "HyperVReplica2012R2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "HyperVReplicaBlueReplicationDetails",
+ modelProperties: __assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { lastReplicatedTime: {
+ serializedName: "lastReplicatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicDetails"
+ }
+ }
+ }
+ }, vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionState: {
+ serializedName: "vmProtectionState",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionStateDescription: {
+ serializedName: "vmProtectionStateDescription",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationDetails: {
+ serializedName: "initialReplicationDetails",
+ type: {
+ name: "Composite",
+ className: "InitialReplicationDetails"
+ }
+ }, vMDiskDetails: {
+ serializedName: "vMDiskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskDetails"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var HyperVReplicaPolicyDetails = {
+ serializedName: "HyperVReplica2012",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "HyperVReplicaPolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPoints: {
+ serializedName: "recoveryPoints",
+ type: {
+ name: "Number"
+ }
+ }, applicationConsistentSnapshotFrequencyInHours: {
+ serializedName: "applicationConsistentSnapshotFrequencyInHours",
+ type: {
+ name: "Number"
+ }
+ }, compression: {
+ serializedName: "compression",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationMethod: {
+ serializedName: "initialReplicationMethod",
+ type: {
+ name: "String"
+ }
+ }, onlineReplicationStartTime: {
+ serializedName: "onlineReplicationStartTime",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationImportPath: {
+ serializedName: "offlineReplicationImportPath",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationExportPath: {
+ serializedName: "offlineReplicationExportPath",
+ type: {
+ name: "String"
+ }
+ }, replicationPort: {
+ serializedName: "replicationPort",
+ type: {
+ name: "Number"
+ }
+ }, allowedAuthenticationType: {
+ serializedName: "allowedAuthenticationType",
+ type: {
+ name: "Number"
+ }
+ }, replicaDeletionOption: {
+ serializedName: "replicaDeletionOption",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaPolicyInput = {
+ serializedName: "HyperVReplica2012",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificInput",
+ className: "HyperVReplicaPolicyInput",
+ modelProperties: __assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPoints: {
+ serializedName: "recoveryPoints",
+ type: {
+ name: "Number"
+ }
+ }, applicationConsistentSnapshotFrequencyInHours: {
+ serializedName: "applicationConsistentSnapshotFrequencyInHours",
+ type: {
+ name: "Number"
+ }
+ }, compression: {
+ serializedName: "compression",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationMethod: {
+ serializedName: "initialReplicationMethod",
+ type: {
+ name: "String"
+ }
+ }, onlineReplicationStartTime: {
+ serializedName: "onlineReplicationStartTime",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationImportPath: {
+ serializedName: "offlineReplicationImportPath",
+ type: {
+ name: "String"
+ }
+ }, offlineReplicationExportPath: {
+ serializedName: "offlineReplicationExportPath",
+ type: {
+ name: "String"
+ }
+ }, replicationPort: {
+ serializedName: "replicationPort",
+ type: {
+ name: "Number"
+ }
+ }, allowedAuthenticationType: {
+ serializedName: "allowedAuthenticationType",
+ type: {
+ name: "Number"
+ }
+ }, replicaDeletion: {
+ serializedName: "replicaDeletion",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var HyperVReplicaReplicationDetails = {
+ serializedName: "HyperVReplica2012",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "HyperVReplicaReplicationDetails",
+ modelProperties: __assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { lastReplicatedTime: {
+ serializedName: "lastReplicatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicDetails"
+ }
+ }
+ }
+ }, vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionState: {
+ serializedName: "vmProtectionState",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionStateDescription: {
+ serializedName: "vmProtectionStateDescription",
+ type: {
+ name: "String"
+ }
+ }, initialReplicationDetails: {
+ serializedName: "initialReplicationDetails",
+ type: {
+ name: "Composite",
+ className: "InitialReplicationDetails"
+ }
+ }, vMDiskDetails: {
+ serializedName: "vMDiskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskDetails"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var HyperVSiteDetails = {
+ serializedName: "HyperVSite",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificDetails",
+ className: "HyperVSiteDetails",
+ modelProperties: __assign({}, FabricSpecificDetails.type.modelProperties)
+ }
+ };
+ var HyperVVirtualMachineDetails = {
+ serializedName: "HyperVVirtualMachine",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,
+ uberParent: "ConfigurationSettings",
+ className: "HyperVVirtualMachineDetails",
+ modelProperties: __assign({}, ConfigurationSettings.type.modelProperties, { sourceItemId: {
+ serializedName: "sourceItemId",
+ type: {
+ name: "String"
+ }
+ }, generation: {
+ serializedName: "generation",
+ type: {
+ name: "String"
+ }
+ }, osDetails: {
+ serializedName: "osDetails",
+ type: {
+ name: "Composite",
+ className: "OSDetails"
+ }
+ }, diskDetails: {
+ serializedName: "diskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskDetails"
+ }
+ }
+ }
+ }, hasPhysicalDisk: {
+ serializedName: "hasPhysicalDisk",
+ type: {
+ name: "String"
+ }
+ }, hasFibreChannelAdapter: {
+ serializedName: "hasFibreChannelAdapter",
+ type: {
+ name: "String"
+ }
+ }, hasSharedVhd: {
+ serializedName: "hasSharedVhd",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var IdentityInformation = {
+ serializedName: "IdentityInformation",
+ type: {
+ name: "Composite",
+ className: "IdentityInformation",
+ modelProperties: {
+ identityProviderType: {
+ serializedName: "identityProviderType",
+ type: {
+ name: "String"
+ }
+ },
+ tenantId: {
+ serializedName: "tenantId",
+ type: {
+ name: "String"
+ }
+ },
+ applicationId: {
+ serializedName: "applicationId",
+ type: {
+ name: "String"
+ }
+ },
+ objectId: {
+ serializedName: "objectId",
+ type: {
+ name: "String"
+ }
+ },
+ audience: {
+ serializedName: "audience",
+ type: {
+ name: "String"
+ }
+ },
+ aadAuthority: {
+ serializedName: "aadAuthority",
+ type: {
+ name: "String"
+ }
+ },
+ certificateThumbprint: {
+ serializedName: "certificateThumbprint",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var InlineWorkflowTaskDetails = {
+ serializedName: "InlineWorkflowTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator,
+ uberParent: "GroupTaskDetails",
+ className: "InlineWorkflowTaskDetails",
+ modelProperties: __assign({}, GroupTaskDetails.type.modelProperties, { workflowIds: {
+ serializedName: "workflowIds",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var InMageAgentDetails = {
+ serializedName: "InMageAgentDetails",
+ type: {
+ name: "Composite",
+ className: "InMageAgentDetails",
+ modelProperties: {
+ agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ },
+ agentUpdateStatus: {
+ serializedName: "agentUpdateStatus",
+ type: {
+ name: "String"
+ }
+ },
+ postUpdateRebootStatus: {
+ serializedName: "postUpdateRebootStatus",
+ type: {
+ name: "String"
+ }
+ },
+ agentExpiryDate: {
+ serializedName: "agentExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+ };
+ var InMageAgentVersionDetails = {
+ serializedName: "InMageAgentVersionDetails",
+ type: {
+ name: "Composite",
+ className: "InMageAgentVersionDetails",
+ modelProperties: {
+ postUpdateRebootStatus: {
+ serializedName: "postUpdateRebootStatus",
+ type: {
+ name: "String"
+ }
+ },
+ version: {
+ serializedName: "version",
+ type: {
+ name: "String"
+ }
+ },
+ expiryDate: {
+ serializedName: "expiryDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ status: {
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var InMageAzureV2ApplyRecoveryPointInput = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "ApplyRecoveryPointProviderSpecificInput",
+ className: "InMageAzureV2ApplyRecoveryPointInput",
+ modelProperties: __assign({}, ApplyRecoveryPointProviderSpecificInput.type.modelProperties, { vaultLocation: {
+ serializedName: "vaultLocation",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2EnableProtectionInput = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "EnableProtectionProviderSpecificInput",
+ className: "InMageAzureV2EnableProtectionInput",
+ modelProperties: __assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { masterTargetId: {
+ serializedName: "masterTargetId",
+ type: {
+ name: "String"
+ }
+ }, processServerId: {
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ }, storageAccountId: {
+ required: true,
+ serializedName: "storageAccountId",
+ type: {
+ name: "String"
+ }
+ }, runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupId: {
+ serializedName: "multiVmGroupId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupName: {
+ serializedName: "multiVmGroupName",
+ type: {
+ name: "String"
+ }
+ }, disksToInclude: {
+ serializedName: "disksToInclude",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }, targetAzureNetworkId: {
+ serializedName: "targetAzureNetworkId",
+ type: {
+ name: "String"
+ }
+ }, targetAzureSubnetId: {
+ serializedName: "targetAzureSubnetId",
+ type: {
+ name: "String"
+ }
+ }, enableRdpOnTargetOption: {
+ serializedName: "enableRdpOnTargetOption",
+ type: {
+ name: "String"
+ }
+ }, targetAzureVmName: {
+ serializedName: "targetAzureVmName",
+ type: {
+ name: "String"
+ }
+ }, logStorageAccountId: {
+ serializedName: "logStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, targetAzureV1ResourceGroupId: {
+ serializedName: "targetAzureV1ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, targetAzureV2ResourceGroupId: {
+ serializedName: "targetAzureV2ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, useManagedDisks: {
+ serializedName: "useManagedDisks",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2EventDetails = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "EventProviderSpecificDetails",
+ className: "InMageAzureV2EventDetails",
+ modelProperties: __assign({}, EventProviderSpecificDetails.type.modelProperties, { eventType: {
+ serializedName: "eventType",
+ type: {
+ name: "String"
+ }
+ }, category: {
+ serializedName: "category",
+ type: {
+ name: "String"
+ }
+ }, component: {
+ serializedName: "component",
+ type: {
+ name: "String"
+ }
+ }, correctiveAction: {
+ serializedName: "correctiveAction",
+ type: {
+ name: "String"
+ }
+ }, details: {
+ serializedName: "details",
+ type: {
+ name: "String"
+ }
+ }, summary: {
+ serializedName: "summary",
+ type: {
+ name: "String"
+ }
+ }, siteName: {
+ serializedName: "siteName",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2FailoverProviderInput = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "InMageAzureV2FailoverProviderInput",
+ modelProperties: __assign({}, ProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {
+ serializedName: "vaultLocation",
+ type: {
+ name: "String"
+ }
+ }, recoveryPointId: {
+ serializedName: "recoveryPointId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2PolicyDetails = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "InMageAzureV2PolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { crashConsistentFrequencyInMinutes: {
+ serializedName: "crashConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2PolicyInput = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificInput",
+ className: "InMageAzureV2PolicyInput",
+ modelProperties: __assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, crashConsistentFrequencyInMinutes: {
+ serializedName: "crashConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ required: true,
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2ProtectedDiskDetails = {
+ serializedName: "InMageAzureV2ProtectedDiskDetails",
+ type: {
+ name: "Composite",
+ className: "InMageAzureV2ProtectedDiskDetails",
+ modelProperties: {
+ diskId: {
+ serializedName: "diskId",
+ type: {
+ name: "String"
+ }
+ },
+ diskName: {
+ serializedName: "diskName",
+ type: {
+ name: "String"
+ }
+ },
+ protectionStage: {
+ serializedName: "protectionStage",
+ type: {
+ name: "String"
+ }
+ },
+ healthErrorCode: {
+ serializedName: "healthErrorCode",
+ type: {
+ name: "String"
+ }
+ },
+ rpoInSeconds: {
+ serializedName: "rpoInSeconds",
+ type: {
+ name: "Number"
+ }
+ },
+ resyncRequired: {
+ serializedName: "resyncRequired",
+ type: {
+ name: "String"
+ }
+ },
+ resyncProgressPercentage: {
+ serializedName: "resyncProgressPercentage",
+ type: {
+ name: "Number"
+ }
+ },
+ resyncDurationInSeconds: {
+ serializedName: "resyncDurationInSeconds",
+ type: {
+ name: "Number"
+ }
+ },
+ diskCapacityInBytes: {
+ serializedName: "diskCapacityInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ fileSystemCapacityInBytes: {
+ serializedName: "fileSystemCapacityInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ sourceDataInMegaBytes: {
+ serializedName: "sourceDataInMegaBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ psDataInMegaBytes: {
+ serializedName: "psDataInMegaBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ targetDataInMegaBytes: {
+ serializedName: "targetDataInMegaBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ diskResized: {
+ serializedName: "diskResized",
+ type: {
+ name: "String"
+ }
+ },
+ lastRpoCalculatedTime: {
+ serializedName: "lastRpoCalculatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+ };
+ var InMageAzureV2RecoveryPointDetails = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator,
+ uberParent: "ProviderSpecificRecoveryPointDetails",
+ className: "InMageAzureV2RecoveryPointDetails",
+ modelProperties: __assign({}, ProviderSpecificRecoveryPointDetails.type.modelProperties, { isMultiVmSyncPoint: {
+ serializedName: "isMultiVmSyncPoint",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2ReplicationDetails = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "InMageAzureV2ReplicationDetails",
+ modelProperties: __assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { infrastructureVmId: {
+ serializedName: "infrastructureVmId",
+ type: {
+ name: "String"
+ }
+ }, vCenterInfrastructureId: {
+ serializedName: "vCenterInfrastructureId",
+ type: {
+ name: "String"
+ }
+ }, protectionStage: {
+ serializedName: "protectionStage",
+ type: {
+ name: "String"
+ }
+ }, vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionState: {
+ serializedName: "vmProtectionState",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionStateDescription: {
+ serializedName: "vmProtectionStateDescription",
+ type: {
+ name: "String"
+ }
+ }, resyncProgressPercentage: {
+ serializedName: "resyncProgressPercentage",
+ type: {
+ name: "Number"
+ }
+ }, rpoInSeconds: {
+ serializedName: "rpoInSeconds",
+ type: {
+ name: "Number"
+ }
+ }, compressedDataRateInMB: {
+ serializedName: "compressedDataRateInMB",
+ type: {
+ name: "Number"
+ }
+ }, uncompressedDataRateInMB: {
+ serializedName: "uncompressedDataRateInMB",
+ type: {
+ name: "Number"
+ }
+ }, ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ }, agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ }, agentExpiryDate: {
+ serializedName: "agentExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ }, isAgentUpdateRequired: {
+ serializedName: "isAgentUpdateRequired",
+ type: {
+ name: "String"
+ }
+ }, isRebootAfterUpdateRequired: {
+ serializedName: "isRebootAfterUpdateRequired",
+ type: {
+ name: "String"
+ }
+ }, lastHeartbeat: {
+ serializedName: "lastHeartbeat",
+ type: {
+ name: "DateTime"
+ }
+ }, processServerId: {
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupId: {
+ serializedName: "multiVmGroupId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupName: {
+ serializedName: "multiVmGroupName",
+ type: {
+ name: "String"
+ }
+ }, multiVmSyncStatus: {
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ }, protectedDisks: {
+ serializedName: "protectedDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InMageAzureV2ProtectedDiskDetails"
+ }
+ }
+ }
+ }, diskResized: {
+ serializedName: "diskResized",
+ type: {
+ name: "String"
+ }
+ }, masterTargetId: {
+ serializedName: "masterTargetId",
+ type: {
+ name: "String"
+ }
+ }, sourceVmCpuCount: {
+ serializedName: "sourceVmCpuCount",
+ type: {
+ name: "Number"
+ }
+ }, sourceVmRamSizeInMB: {
+ serializedName: "sourceVmRamSizeInMB",
+ type: {
+ name: "Number"
+ }
+ }, osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ }, vhdName: {
+ serializedName: "vhdName",
+ type: {
+ name: "String"
+ }
+ }, osDiskId: {
+ serializedName: "osDiskId",
+ type: {
+ name: "String"
+ }
+ }, azureVMDiskDetails: {
+ serializedName: "azureVMDiskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "AzureVmDiskDetails"
+ }
+ }
+ }
+ }, recoveryAzureVMName: {
+ serializedName: "recoveryAzureVMName",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureVMSize: {
+ serializedName: "recoveryAzureVMSize",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureStorageAccount: {
+ serializedName: "recoveryAzureStorageAccount",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureLogStorageAccountId: {
+ serializedName: "recoveryAzureLogStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicDetails"
+ }
+ }
+ }
+ }, selectedRecoveryAzureNetworkId: {
+ serializedName: "selectedRecoveryAzureNetworkId",
+ type: {
+ name: "String"
+ }
+ }, selectedSourceNicId: {
+ serializedName: "selectedSourceNicId",
+ type: {
+ name: "String"
+ }
+ }, discoveryType: {
+ serializedName: "discoveryType",
+ type: {
+ name: "String"
+ }
+ }, enableRdpOnTargetOption: {
+ serializedName: "enableRdpOnTargetOption",
+ type: {
+ name: "String"
+ }
+ }, datastores: {
+ serializedName: "datastores",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }, targetVmId: {
+ serializedName: "targetVmId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureResourceGroupId: {
+ serializedName: "recoveryAzureResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAvailabilitySetId: {
+ serializedName: "recoveryAvailabilitySetId",
+ type: {
+ name: "String"
+ }
+ }, useManagedDisks: {
+ serializedName: "useManagedDisks",
+ type: {
+ name: "String"
+ }
+ }, licenseType: {
+ serializedName: "licenseType",
+ type: {
+ name: "String"
+ }
+ }, validationErrors: {
+ serializedName: "validationErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ }, lastRpoCalculatedTime: {
+ serializedName: "lastRpoCalculatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, lastUpdateReceivedTime: {
+ serializedName: "lastUpdateReceivedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, replicaId: {
+ serializedName: "replicaId",
+ type: {
+ name: "String"
+ }
+ }, osVersion: {
+ serializedName: "osVersion",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageAzureV2ReprotectInput = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "ReverseReplicationProviderSpecificInput",
+ className: "InMageAzureV2ReprotectInput",
+ modelProperties: __assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { masterTargetId: {
+ serializedName: "masterTargetId",
+ type: {
+ name: "String"
+ }
+ }, processServerId: {
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ }, storageAccountId: {
+ serializedName: "storageAccountId",
+ type: {
+ name: "String"
+ }
+ }, runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ }, policyId: {
+ serializedName: "policyId",
+ type: {
+ name: "String"
+ }
+ }, logStorageAccountId: {
+ serializedName: "logStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, disksToInclude: {
+ serializedName: "disksToInclude",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var InMageAzureV2UpdateReplicationProtectedItemInput = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator,
+ uberParent: "UpdateReplicationProtectedItemProviderInput",
+ className: "InMageAzureV2UpdateReplicationProtectedItemInput",
+ modelProperties: __assign({}, UpdateReplicationProtectedItemProviderInput.type.modelProperties, { recoveryAzureV1ResourceGroupId: {
+ serializedName: "recoveryAzureV1ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, recoveryAzureV2ResourceGroupId: {
+ serializedName: "recoveryAzureV2ResourceGroupId",
+ type: {
+ name: "String"
+ }
+ }, useManagedDisks: {
+ serializedName: "useManagedDisks",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageBasePolicyDetails = {
+ serializedName: "InMageBasePolicyDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "InMageBasePolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageDisableProtectionProviderSpecificInput = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: DisableProtectionProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "DisableProtectionProviderSpecificInput",
+ className: "InMageDisableProtectionProviderSpecificInput",
+ modelProperties: __assign({}, DisableProtectionProviderSpecificInput.type.modelProperties, { replicaVmDeletionStatus: {
+ serializedName: "replicaVmDeletionStatus",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageDiskDetails = {
+ serializedName: "InMageDiskDetails",
+ type: {
+ name: "Composite",
+ className: "InMageDiskDetails",
+ modelProperties: {
+ diskId: {
+ serializedName: "diskId",
+ type: {
+ name: "String"
+ }
+ },
+ diskName: {
+ serializedName: "diskName",
+ type: {
+ name: "String"
+ }
+ },
+ diskSizeInMB: {
+ serializedName: "diskSizeInMB",
+ type: {
+ name: "String"
+ }
+ },
+ diskType: {
+ serializedName: "diskType",
+ type: {
+ name: "String"
+ }
+ },
+ diskConfiguration: {
+ serializedName: "diskConfiguration",
+ type: {
+ name: "String"
+ }
+ },
+ volumeList: {
+ serializedName: "volumeList",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskVolumeDetails"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var InMageVolumeExclusionOptions = {
+ serializedName: "InMageVolumeExclusionOptions",
+ type: {
+ name: "Composite",
+ className: "InMageVolumeExclusionOptions",
+ modelProperties: {
+ volumeLabel: {
+ serializedName: "volumeLabel",
+ type: {
+ name: "String"
+ }
+ },
+ onlyExcludeIfSingleVolume: {
+ serializedName: "onlyExcludeIfSingleVolume",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var InMageDiskSignatureExclusionOptions = {
+ serializedName: "InMageDiskSignatureExclusionOptions",
+ type: {
+ name: "Composite",
+ className: "InMageDiskSignatureExclusionOptions",
+ modelProperties: {
+ diskSignature: {
+ serializedName: "diskSignature",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var InMageDiskExclusionInput = {
+ serializedName: "InMageDiskExclusionInput",
+ type: {
+ name: "Composite",
+ className: "InMageDiskExclusionInput",
+ modelProperties: {
+ volumeOptions: {
+ serializedName: "volumeOptions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InMageVolumeExclusionOptions"
+ }
+ }
+ }
+ },
+ diskSignatureOptions: {
+ serializedName: "diskSignatureOptions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InMageDiskSignatureExclusionOptions"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var InMageEnableProtectionInput = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "EnableProtectionProviderSpecificInput",
+ className: "InMageEnableProtectionInput",
+ modelProperties: __assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { vmFriendlyName: {
+ serializedName: "vmFriendlyName",
+ type: {
+ name: "String"
+ }
+ }, masterTargetId: {
+ required: true,
+ serializedName: "masterTargetId",
+ type: {
+ name: "String"
+ }
+ }, processServerId: {
+ required: true,
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ }, retentionDrive: {
+ required: true,
+ serializedName: "retentionDrive",
+ type: {
+ name: "String"
+ }
+ }, runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupId: {
+ required: true,
+ serializedName: "multiVmGroupId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupName: {
+ required: true,
+ serializedName: "multiVmGroupName",
+ type: {
+ name: "String"
+ }
+ }, datastoreName: {
+ serializedName: "datastoreName",
+ type: {
+ name: "String"
+ }
+ }, diskExclusionInput: {
+ serializedName: "diskExclusionInput",
+ type: {
+ name: "Composite",
+ className: "InMageDiskExclusionInput"
+ }
+ }, disksToInclude: {
+ serializedName: "disksToInclude",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var InMageFailoverProviderInput = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "InMageFailoverProviderInput",
+ modelProperties: __assign({}, ProviderSpecificFailoverInput.type.modelProperties, { recoveryPointType: {
+ serializedName: "recoveryPointType",
+ type: {
+ name: "String"
+ }
+ }, recoveryPointId: {
+ serializedName: "recoveryPointId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMagePolicyDetails = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "InMagePolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMagePolicyInput = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificInput",
+ className: "InMagePolicyInput",
+ modelProperties: __assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ required: true,
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageProtectedDiskDetails = {
+ serializedName: "InMageProtectedDiskDetails",
+ type: {
+ name: "Composite",
+ className: "InMageProtectedDiskDetails",
+ modelProperties: {
+ diskId: {
+ serializedName: "diskId",
+ type: {
+ name: "String"
+ }
+ },
+ diskName: {
+ serializedName: "diskName",
+ type: {
+ name: "String"
+ }
+ },
+ protectionStage: {
+ serializedName: "protectionStage",
+ type: {
+ name: "String"
+ }
+ },
+ healthErrorCode: {
+ serializedName: "healthErrorCode",
+ type: {
+ name: "String"
+ }
+ },
+ rpoInSeconds: {
+ serializedName: "rpoInSeconds",
+ type: {
+ name: "Number"
+ }
+ },
+ resyncRequired: {
+ serializedName: "resyncRequired",
+ type: {
+ name: "String"
+ }
+ },
+ resyncProgressPercentage: {
+ serializedName: "resyncProgressPercentage",
+ type: {
+ name: "Number"
+ }
+ },
+ resyncDurationInSeconds: {
+ serializedName: "resyncDurationInSeconds",
+ type: {
+ name: "Number"
+ }
+ },
+ diskCapacityInBytes: {
+ serializedName: "diskCapacityInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ fileSystemCapacityInBytes: {
+ serializedName: "fileSystemCapacityInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ sourceDataInMB: {
+ serializedName: "sourceDataInMB",
+ type: {
+ name: "Number"
+ }
+ },
+ psDataInMB: {
+ serializedName: "psDataInMB",
+ type: {
+ name: "Number"
+ }
+ },
+ targetDataInMB: {
+ serializedName: "targetDataInMB",
+ type: {
+ name: "Number"
+ }
+ },
+ diskResized: {
+ serializedName: "diskResized",
+ type: {
+ name: "String"
+ }
+ },
+ lastRpoCalculatedTime: {
+ serializedName: "lastRpoCalculatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }
+ };
+ var OSDiskDetails = {
+ serializedName: "OSDiskDetails",
+ type: {
+ name: "Composite",
+ className: "OSDiskDetails",
+ modelProperties: {
+ osVhdId: {
+ serializedName: "osVhdId",
+ type: {
+ name: "String"
+ }
+ },
+ osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ },
+ vhdName: {
+ serializedName: "vhdName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var InMageReplicationDetails = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "InMageReplicationDetails",
+ modelProperties: __assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { activeSiteType: {
+ serializedName: "activeSiteType",
+ type: {
+ name: "String"
+ }
+ }, sourceVmCpuCount: {
+ serializedName: "sourceVmCpuCount",
+ type: {
+ name: "Number"
+ }
+ }, sourceVmRamSizeInMB: {
+ serializedName: "sourceVmRamSizeInMB",
+ type: {
+ name: "Number"
+ }
+ }, osDetails: {
+ serializedName: "osDetails",
+ type: {
+ name: "Composite",
+ className: "OSDiskDetails"
+ }
+ }, protectionStage: {
+ serializedName: "protectionStage",
+ type: {
+ name: "String"
+ }
+ }, vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionState: {
+ serializedName: "vmProtectionState",
+ type: {
+ name: "String"
+ }
+ }, vmProtectionStateDescription: {
+ serializedName: "vmProtectionStateDescription",
+ type: {
+ name: "String"
+ }
+ }, resyncDetails: {
+ serializedName: "resyncDetails",
+ type: {
+ name: "Composite",
+ className: "InitialReplicationDetails"
+ }
+ }, retentionWindowStart: {
+ serializedName: "retentionWindowStart",
+ type: {
+ name: "DateTime"
+ }
+ }, retentionWindowEnd: {
+ serializedName: "retentionWindowEnd",
+ type: {
+ name: "DateTime"
+ }
+ }, compressedDataRateInMB: {
+ serializedName: "compressedDataRateInMB",
+ type: {
+ name: "Number"
+ }
+ }, uncompressedDataRateInMB: {
+ serializedName: "uncompressedDataRateInMB",
+ type: {
+ name: "Number"
+ }
+ }, rpoInSeconds: {
+ serializedName: "rpoInSeconds",
+ type: {
+ name: "Number"
+ }
+ }, protectedDisks: {
+ serializedName: "protectedDisks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InMageProtectedDiskDetails"
+ }
+ }
+ }
+ }, ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ }, lastHeartbeat: {
+ serializedName: "lastHeartbeat",
+ type: {
+ name: "DateTime"
+ }
+ }, processServerId: {
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ }, masterTargetId: {
+ serializedName: "masterTargetId",
+ type: {
+ name: "String"
+ }
+ }, consistencyPoints: {
+ serializedName: "consistencyPoints",
+ type: {
+ name: "Dictionary",
+ value: {
+ type: {
+ name: "DateTime"
+ }
+ }
+ }
+ }, diskResized: {
+ serializedName: "diskResized",
+ type: {
+ name: "String"
+ }
+ }, rebootAfterUpdateStatus: {
+ serializedName: "rebootAfterUpdateStatus",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupId: {
+ serializedName: "multiVmGroupId",
+ type: {
+ name: "String"
+ }
+ }, multiVmGroupName: {
+ serializedName: "multiVmGroupName",
+ type: {
+ name: "String"
+ }
+ }, multiVmSyncStatus: {
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ }, agentDetails: {
+ serializedName: "agentDetails",
+ type: {
+ name: "Composite",
+ className: "InMageAgentDetails"
+ }
+ }, vCenterInfrastructureId: {
+ serializedName: "vCenterInfrastructureId",
+ type: {
+ name: "String"
+ }
+ }, infrastructureVmId: {
+ serializedName: "infrastructureVmId",
+ type: {
+ name: "String"
+ }
+ }, vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicDetails"
+ }
+ }
+ }
+ }, discoveryType: {
+ serializedName: "discoveryType",
+ type: {
+ name: "String"
+ }
+ }, azureStorageAccountId: {
+ serializedName: "azureStorageAccountId",
+ type: {
+ name: "String"
+ }
+ }, datastores: {
+ serializedName: "datastores",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }, validationErrors: {
+ serializedName: "validationErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ }, lastRpoCalculatedTime: {
+ serializedName: "lastRpoCalculatedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, lastUpdateReceivedTime: {
+ serializedName: "lastUpdateReceivedTime",
+ type: {
+ name: "DateTime"
+ }
+ }, replicaId: {
+ serializedName: "replicaId",
+ type: {
+ name: "String"
+ }
+ }, osVersion: {
+ serializedName: "osVersion",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var InMageReprotectInput = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "ReverseReplicationProviderSpecificInput",
+ className: "InMageReprotectInput",
+ modelProperties: __assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { masterTargetId: {
+ required: true,
+ serializedName: "masterTargetId",
+ type: {
+ name: "String"
+ }
+ }, processServerId: {
+ required: true,
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ }, retentionDrive: {
+ required: true,
+ serializedName: "retentionDrive",
+ type: {
+ name: "String"
+ }
+ }, runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ }, datastoreName: {
+ serializedName: "datastoreName",
+ type: {
+ name: "String"
+ }
+ }, diskExclusionInput: {
+ serializedName: "diskExclusionInput",
+ type: {
+ name: "Composite",
+ className: "InMageDiskExclusionInput"
+ }
+ }, profileId: {
+ required: true,
+ serializedName: "profileId",
+ type: {
+ name: "String"
+ }
+ }, disksToInclude: {
+ serializedName: "disksToInclude",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var JobProperties = {
+ serializedName: "JobProperties",
+ type: {
+ name: "Composite",
+ className: "JobProperties",
+ modelProperties: {
+ activityId: {
+ serializedName: "activityId",
+ type: {
+ name: "String"
+ }
+ },
+ scenarioName: {
+ serializedName: "scenarioName",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ state: {
+ serializedName: "state",
+ type: {
+ name: "String"
+ }
+ },
+ stateDescription: {
+ serializedName: "stateDescription",
+ type: {
+ name: "String"
+ }
+ },
+ tasks: {
+ serializedName: "tasks",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ASRTask"
+ }
+ }
+ }
+ },
+ errors: {
+ serializedName: "errors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "JobErrorDetails"
+ }
+ }
+ }
+ },
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ endTime: {
+ serializedName: "endTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ allowedActions: {
+ serializedName: "allowedActions",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ targetObjectId: {
+ serializedName: "targetObjectId",
+ type: {
+ name: "String"
+ }
+ },
+ targetObjectName: {
+ serializedName: "targetObjectName",
+ type: {
+ name: "String"
+ }
+ },
+ targetInstanceType: {
+ serializedName: "targetInstanceType",
+ type: {
+ name: "String"
+ }
+ },
+ customDetails: {
+ serializedName: "customDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "JobDetails",
+ className: "JobDetails"
+ }
+ }
+ }
+ }
+ };
+ var Job = {
+ serializedName: "Job",
+ type: {
+ name: "Composite",
+ className: "Job",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "JobProperties"
+ }
+ } })
+ }
+ };
+ var JobQueryParameter = {
+ serializedName: "JobQueryParameter",
+ type: {
+ name: "Composite",
+ className: "JobQueryParameter",
+ modelProperties: {
+ startTime: {
+ serializedName: "startTime",
+ type: {
+ name: "String"
+ }
+ },
+ endTime: {
+ serializedName: "endTime",
+ type: {
+ name: "String"
+ }
+ },
+ fabricId: {
+ serializedName: "fabricId",
+ type: {
+ name: "String"
+ }
+ },
+ affectedObjectTypes: {
+ serializedName: "affectedObjectTypes",
+ type: {
+ name: "String"
+ }
+ },
+ jobStatus: {
+ serializedName: "jobStatus",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var JobStatusEventDetails = {
+ serializedName: "JobStatus",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "EventSpecificDetails",
+ className: "JobStatusEventDetails",
+ modelProperties: __assign({}, EventSpecificDetails.type.modelProperties, { jobId: {
+ serializedName: "jobId",
+ type: {
+ name: "String"
+ }
+ }, jobFriendlyName: {
+ serializedName: "jobFriendlyName",
+ type: {
+ name: "String"
+ }
+ }, jobStatus: {
+ serializedName: "jobStatus",
+ type: {
+ name: "String"
+ }
+ }, affectedObjectType: {
+ serializedName: "affectedObjectType",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var JobTaskDetails = {
+ serializedName: "JobTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "JobTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { jobTask: {
+ serializedName: "jobTask",
+ type: {
+ name: "Composite",
+ className: "JobEntity"
+ }
+ } })
+ }
+ };
+ var LogicalNetworkProperties = {
+ serializedName: "LogicalNetworkProperties",
+ type: {
+ name: "Composite",
+ className: "LogicalNetworkProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ networkVirtualizationStatus: {
+ serializedName: "networkVirtualizationStatus",
+ type: {
+ name: "String"
+ }
+ },
+ logicalNetworkUsage: {
+ serializedName: "logicalNetworkUsage",
+ type: {
+ name: "String"
+ }
+ },
+ logicalNetworkDefinitionsStatus: {
+ serializedName: "logicalNetworkDefinitionsStatus",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var LogicalNetwork = {
+ serializedName: "LogicalNetwork",
+ type: {
+ name: "Composite",
+ className: "LogicalNetwork",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "LogicalNetworkProperties"
+ }
+ } })
+ }
+ };
+ var ManualActionTaskDetails = {
+ serializedName: "ManualActionTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "ManualActionTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ }, instructions: {
+ serializedName: "instructions",
+ type: {
+ name: "String"
+ }
+ }, observation: {
+ serializedName: "observation",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RetentionVolume = {
+ serializedName: "RetentionVolume",
+ type: {
+ name: "Composite",
+ className: "RetentionVolume",
+ modelProperties: {
+ volumeName: {
+ serializedName: "volumeName",
+ type: {
+ name: "String"
+ }
+ },
+ capacityInBytes: {
+ serializedName: "capacityInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ freeSpaceInBytes: {
+ serializedName: "freeSpaceInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ thresholdPercentage: {
+ serializedName: "thresholdPercentage",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+ };
+ var VersionDetails = {
+ serializedName: "VersionDetails",
+ type: {
+ name: "Composite",
+ className: "VersionDetails",
+ modelProperties: {
+ version: {
+ serializedName: "version",
+ type: {
+ name: "String"
+ }
+ },
+ expiryDate: {
+ serializedName: "expiryDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ status: {
+ serializedName: "status",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var MasterTargetServer = {
+ serializedName: "MasterTargetServer",
+ type: {
+ name: "Composite",
+ className: "MasterTargetServer",
+ modelProperties: {
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ },
+ agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ },
+ lastHeartbeat: {
+ serializedName: "lastHeartbeat",
+ type: {
+ name: "DateTime"
+ }
+ },
+ versionStatus: {
+ serializedName: "versionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ retentionVolumes: {
+ serializedName: "retentionVolumes",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RetentionVolume"
+ }
+ }
+ }
+ },
+ dataStores: {
+ serializedName: "dataStores",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DataStore"
+ }
+ }
+ }
+ },
+ validationErrors: {
+ serializedName: "validationErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ healthErrors: {
+ serializedName: "healthErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ diskCount: {
+ serializedName: "diskCount",
+ type: {
+ name: "Number"
+ }
+ },
+ osVersion: {
+ serializedName: "osVersion",
+ type: {
+ name: "String"
+ }
+ },
+ agentExpiryDate: {
+ serializedName: "agentExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ marsAgentVersion: {
+ serializedName: "marsAgentVersion",
+ type: {
+ name: "String"
+ }
+ },
+ marsAgentExpiryDate: {
+ serializedName: "marsAgentExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ agentVersionDetails: {
+ serializedName: "agentVersionDetails",
+ type: {
+ name: "Composite",
+ className: "VersionDetails"
+ }
+ },
+ marsAgentVersionDetails: {
+ serializedName: "marsAgentVersionDetails",
+ type: {
+ name: "Composite",
+ className: "VersionDetails"
+ }
+ }
+ }
+ }
+ };
+ var MobilityServiceUpdate = {
+ serializedName: "MobilityServiceUpdate",
+ type: {
+ name: "Composite",
+ className: "MobilityServiceUpdate",
+ modelProperties: {
+ version: {
+ serializedName: "version",
+ type: {
+ name: "String"
+ }
+ },
+ rebootStatus: {
+ serializedName: "rebootStatus",
+ type: {
+ name: "String"
+ }
+ },
+ osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var Subnet = {
+ serializedName: "Subnet",
+ type: {
+ name: "Composite",
+ className: "Subnet",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ addressList: {
+ serializedName: "addressList",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var NetworkProperties = {
+ serializedName: "NetworkProperties",
+ type: {
+ name: "Composite",
+ className: "NetworkProperties",
+ modelProperties: {
+ fabricType: {
+ serializedName: "fabricType",
+ type: {
+ name: "String"
+ }
+ },
+ subnets: {
+ serializedName: "subnets",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Subnet"
+ }
+ }
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ networkType: {
+ serializedName: "networkType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var Network = {
+ serializedName: "Network",
+ type: {
+ name: "Composite",
+ className: "Network",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "NetworkProperties"
+ }
+ } })
+ }
+ };
+ var NetworkMappingProperties = {
+ serializedName: "NetworkMappingProperties",
+ type: {
+ name: "Composite",
+ className: "NetworkMappingProperties",
+ modelProperties: {
+ state: {
+ serializedName: "state",
+ type: {
+ name: "String"
+ }
+ },
+ primaryNetworkFriendlyName: {
+ serializedName: "primaryNetworkFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ primaryNetworkId: {
+ serializedName: "primaryNetworkId",
+ type: {
+ name: "String"
+ }
+ },
+ primaryFabricFriendlyName: {
+ serializedName: "primaryFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryNetworkFriendlyName: {
+ serializedName: "recoveryNetworkFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryNetworkId: {
+ serializedName: "recoveryNetworkId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryFabricArmId: {
+ serializedName: "recoveryFabricArmId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryFabricFriendlyName: {
+ serializedName: "recoveryFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ fabricSpecificSettings: {
+ serializedName: "fabricSpecificSettings",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "NetworkMappingFabricSpecificSettings",
+ className: "NetworkMappingFabricSpecificSettings"
+ }
+ }
+ }
+ }
+ };
+ var NetworkMapping = {
+ serializedName: "NetworkMapping",
+ type: {
+ name: "Composite",
+ className: "NetworkMapping",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "NetworkMappingProperties"
+ }
+ } })
+ }
+ };
+ var OperationsDiscovery = {
+ serializedName: "OperationsDiscovery",
+ type: {
+ name: "Composite",
+ className: "OperationsDiscovery",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ display: {
+ serializedName: "display",
+ type: {
+ name: "Composite",
+ className: "Display"
+ }
+ },
+ origin: {
+ serializedName: "origin",
+ type: {
+ name: "String"
+ }
+ },
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Object"
+ }
+ }
+ }
+ }
+ };
+ var PlannedFailoverInputProperties = {
+ serializedName: "PlannedFailoverInputProperties",
+ type: {
+ name: "Composite",
+ className: "PlannedFailoverInputProperties",
+ modelProperties: {
+ failoverDirection: {
+ serializedName: "failoverDirection",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "ProviderSpecificFailoverInput"
+ }
+ }
+ }
+ }
+ };
+ var PlannedFailoverInput = {
+ serializedName: "PlannedFailoverInput",
+ type: {
+ name: "Composite",
+ className: "PlannedFailoverInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "PlannedFailoverInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var PolicyProperties = {
+ serializedName: "PolicyProperties",
+ type: {
+ name: "Composite",
+ className: "PolicyProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "PolicyProviderSpecificDetails"
+ }
+ }
+ }
+ }
+ };
+ var Policy = {
+ serializedName: "Policy",
+ type: {
+ name: "Composite",
+ className: "Policy",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "PolicyProperties"
+ }
+ } })
+ }
+ };
+ var ProcessServer = {
+ serializedName: "ProcessServer",
+ type: {
+ name: "Composite",
+ className: "ProcessServer",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ },
+ osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ },
+ agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ },
+ lastHeartbeat: {
+ serializedName: "lastHeartbeat",
+ type: {
+ name: "DateTime"
+ }
+ },
+ versionStatus: {
+ serializedName: "versionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ mobilityServiceUpdates: {
+ serializedName: "mobilityServiceUpdates",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "MobilityServiceUpdate"
+ }
+ }
+ }
+ },
+ hostId: {
+ serializedName: "hostId",
+ type: {
+ name: "String"
+ }
+ },
+ machineCount: {
+ serializedName: "machineCount",
+ type: {
+ name: "String"
+ }
+ },
+ replicationPairCount: {
+ serializedName: "replicationPairCount",
+ type: {
+ name: "String"
+ }
+ },
+ systemLoad: {
+ serializedName: "systemLoad",
+ type: {
+ name: "String"
+ }
+ },
+ systemLoadStatus: {
+ serializedName: "systemLoadStatus",
+ type: {
+ name: "String"
+ }
+ },
+ cpuLoad: {
+ serializedName: "cpuLoad",
+ type: {
+ name: "String"
+ }
+ },
+ cpuLoadStatus: {
+ serializedName: "cpuLoadStatus",
+ type: {
+ name: "String"
+ }
+ },
+ totalMemoryInBytes: {
+ serializedName: "totalMemoryInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ availableMemoryInBytes: {
+ serializedName: "availableMemoryInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ memoryUsageStatus: {
+ serializedName: "memoryUsageStatus",
+ type: {
+ name: "String"
+ }
+ },
+ totalSpaceInBytes: {
+ serializedName: "totalSpaceInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ availableSpaceInBytes: {
+ serializedName: "availableSpaceInBytes",
+ type: {
+ name: "Number"
+ }
+ },
+ spaceUsageStatus: {
+ serializedName: "spaceUsageStatus",
+ type: {
+ name: "String"
+ }
+ },
+ psServiceStatus: {
+ serializedName: "psServiceStatus",
+ type: {
+ name: "String"
+ }
+ },
+ sslCertExpiryDate: {
+ serializedName: "sslCertExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ sslCertExpiryRemainingDays: {
+ serializedName: "sslCertExpiryRemainingDays",
+ type: {
+ name: "Number"
+ }
+ },
+ osVersion: {
+ serializedName: "osVersion",
+ type: {
+ name: "String"
+ }
+ },
+ healthErrors: {
+ serializedName: "healthErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ agentExpiryDate: {
+ serializedName: "agentExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ agentVersionDetails: {
+ serializedName: "agentVersionDetails",
+ type: {
+ name: "Composite",
+ className: "VersionDetails"
+ }
+ }
+ }
+ }
+ };
+ var ProtectableItemProperties = {
+ serializedName: "ProtectableItemProperties",
+ type: {
+ name: "Composite",
+ className: "ProtectableItemProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ protectionStatus: {
+ serializedName: "protectionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ replicationProtectedItemId: {
+ serializedName: "replicationProtectedItemId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryServicesProviderId: {
+ serializedName: "recoveryServicesProviderId",
+ type: {
+ name: "String"
+ }
+ },
+ protectionReadinessErrors: {
+ serializedName: "protectionReadinessErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ supportedReplicationProviders: {
+ serializedName: "supportedReplicationProviders",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ customDetails: {
+ serializedName: "customDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ConfigurationSettings",
+ className: "ConfigurationSettings"
+ }
+ }
+ }
+ }
+ };
+ var ProtectableItem = {
+ serializedName: "ProtectableItem",
+ type: {
+ name: "Composite",
+ className: "ProtectableItem",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ProtectableItemProperties"
+ }
+ } })
+ }
+ };
+ var ProtectableItemQueryParameter = {
+ serializedName: "ProtectableItemQueryParameter",
+ type: {
+ name: "Composite",
+ className: "ProtectableItemQueryParameter",
+ modelProperties: {
+ state: {
+ serializedName: "state",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectedItemsQueryParameter = {
+ serializedName: "ProtectedItemsQueryParameter",
+ type: {
+ name: "Composite",
+ className: "ProtectedItemsQueryParameter",
+ modelProperties: {
+ sourceFabricName: {
+ serializedName: "sourceFabricName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryPlanName: {
+ serializedName: "recoveryPlanName",
+ type: {
+ name: "String"
+ }
+ },
+ vCenterName: {
+ serializedName: "vCenterName",
+ type: {
+ name: "String"
+ }
+ },
+ instanceType: {
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ },
+ multiVmGroupCreateOption: {
+ serializedName: "multiVmGroupCreateOption",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectionContainerFabricSpecificDetails = {
+ serializedName: "ProtectionContainerFabricSpecificDetails",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerFabricSpecificDetails",
+ modelProperties: {
+ instanceType: {
+ readOnly: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectionContainerProperties = {
+ serializedName: "ProtectionContainerProperties",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerProperties",
+ modelProperties: {
+ fabricFriendlyName: {
+ serializedName: "fabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ fabricType: {
+ serializedName: "fabricType",
+ type: {
+ name: "String"
+ }
+ },
+ protectedItemCount: {
+ serializedName: "protectedItemCount",
+ type: {
+ name: "Number"
+ }
+ },
+ pairingStatus: {
+ serializedName: "pairingStatus",
+ type: {
+ name: "String"
+ }
+ },
+ role: {
+ serializedName: "role",
+ type: {
+ name: "String"
+ }
+ },
+ fabricSpecificDetails: {
+ serializedName: "fabricSpecificDetails",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerFabricSpecificDetails"
+ }
+ }
+ }
+ }
+ };
+ var ProtectionContainer = {
+ serializedName: "ProtectionContainer",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainer",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerProperties"
+ }
+ } })
+ }
+ };
+ var ProtectionContainerMappingProperties = {
+ serializedName: "ProtectionContainerMappingProperties",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerMappingProperties",
+ modelProperties: {
+ targetProtectionContainerId: {
+ serializedName: "targetProtectionContainerId",
+ type: {
+ name: "String"
+ }
+ },
+ targetProtectionContainerFriendlyName: {
+ serializedName: "targetProtectionContainerFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProtectionContainerMappingProviderSpecificDetails",
+ className: "ProtectionContainerMappingProviderSpecificDetails"
+ }
+ },
+ health: {
+ serializedName: "health",
+ type: {
+ name: "String"
+ }
+ },
+ healthErrorDetails: {
+ serializedName: "healthErrorDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ policyId: {
+ serializedName: "policyId",
+ type: {
+ name: "String"
+ }
+ },
+ state: {
+ serializedName: "state",
+ type: {
+ name: "String"
+ }
+ },
+ sourceProtectionContainerFriendlyName: {
+ serializedName: "sourceProtectionContainerFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ sourceFabricFriendlyName: {
+ serializedName: "sourceFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ targetFabricFriendlyName: {
+ serializedName: "targetFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ policyFriendlyName: {
+ serializedName: "policyFriendlyName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectionContainerMapping = {
+ serializedName: "ProtectionContainerMapping",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerMapping",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerMappingProperties"
+ }
+ } })
+ }
+ };
+ var RcmAzureMigrationPolicyDetails = {
+ serializedName: "RcmAzureMigration",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "RcmAzureMigrationPolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, multiVmSyncStatus: {
+ serializedName: "multiVmSyncStatus",
+ type: {
+ name: "String"
+ }
+ }, crashConsistentFrequencyInMinutes: {
+ serializedName: "crashConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanProperties = {
+ serializedName: "RecoveryPlanProperties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ primaryFabricId: {
+ serializedName: "primaryFabricId",
+ type: {
+ name: "String"
+ }
+ },
+ primaryFabricFriendlyName: {
+ serializedName: "primaryFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryFabricId: {
+ serializedName: "recoveryFabricId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryFabricFriendlyName: {
+ serializedName: "recoveryFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ failoverDeploymentModel: {
+ serializedName: "failoverDeploymentModel",
+ type: {
+ name: "String"
+ }
+ },
+ replicationProviders: {
+ serializedName: "replicationProviders",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ allowedOperations: {
+ serializedName: "allowedOperations",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ lastPlannedFailoverTime: {
+ serializedName: "lastPlannedFailoverTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastUnplannedFailoverTime: {
+ serializedName: "lastUnplannedFailoverTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastTestFailoverTime: {
+ serializedName: "lastTestFailoverTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ currentScenario: {
+ serializedName: "currentScenario",
+ type: {
+ name: "Composite",
+ className: "CurrentScenarioDetails"
+ }
+ },
+ currentScenarioStatus: {
+ serializedName: "currentScenarioStatus",
+ type: {
+ name: "String"
+ }
+ },
+ currentScenarioStatusDescription: {
+ serializedName: "currentScenarioStatusDescription",
+ type: {
+ name: "String"
+ }
+ },
+ groups: {
+ serializedName: "groups",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlan = {
+ serializedName: "RecoveryPlan",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlan",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanProperties"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanProviderSpecificFailoverInput = {
+ serializedName: "RecoveryPlanProviderSpecificFailoverInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanProviderSpecificFailoverInput",
+ modelProperties: {
+ instanceType: {
+ required: true,
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanA2AFailoverInput = {
+ serializedName: "A2A",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanA2AFailoverInput",
+ modelProperties: __assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { recoveryPointType: {
+ required: true,
+ serializedName: "recoveryPointType",
+ type: {
+ name: "String"
+ }
+ }, cloudServiceCreationOption: {
+ serializedName: "cloudServiceCreationOption",
+ type: {
+ name: "String"
+ }
+ }, multiVmSyncPointOption: {
+ serializedName: "multiVmSyncPointOption",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanAutomationRunbookActionDetails = {
+ serializedName: "AutomationRunbookActionDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanActionDetails",
+ className: "RecoveryPlanAutomationRunbookActionDetails",
+ modelProperties: __assign({}, RecoveryPlanActionDetails.type.modelProperties, { runbookId: {
+ serializedName: "runbookId",
+ type: {
+ name: "String"
+ }
+ }, timeout: {
+ serializedName: "timeout",
+ type: {
+ name: "String"
+ }
+ }, fabricLocation: {
+ required: true,
+ serializedName: "fabricLocation",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanGroupTaskDetails = {
+ serializedName: "RecoveryPlanGroupTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator,
+ uberParent: "GroupTaskDetails",
+ className: "RecoveryPlanGroupTaskDetails",
+ modelProperties: __assign({}, GroupTaskDetails.type.modelProperties, { name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ }, groupId: {
+ serializedName: "groupId",
+ type: {
+ name: "String"
+ }
+ }, rpGroupType: {
+ serializedName: "rpGroupType",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanHyperVReplicaAzureFailbackInput = {
+ serializedName: "HyperVReplicaAzureFailback",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanHyperVReplicaAzureFailbackInput",
+ modelProperties: __assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { dataSyncOption: {
+ required: true,
+ serializedName: "dataSyncOption",
+ type: {
+ name: "String"
+ }
+ }, recoveryVmCreationOption: {
+ required: true,
+ serializedName: "recoveryVmCreationOption",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanHyperVReplicaAzureFailoverInput = {
+ serializedName: "HyperVReplicaAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanHyperVReplicaAzureFailoverInput",
+ modelProperties: __assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {
+ required: true,
+ serializedName: "vaultLocation",
+ type: {
+ name: "String"
+ }
+ }, primaryKekCertificatePfx: {
+ serializedName: "primaryKekCertificatePfx",
+ type: {
+ name: "String"
+ }
+ }, secondaryKekCertificatePfx: {
+ serializedName: "secondaryKekCertificatePfx",
+ type: {
+ name: "String"
+ }
+ }, recoveryPointType: {
+ serializedName: "recoveryPointType",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanInMageAzureV2FailoverInput = {
+ serializedName: "InMageAzureV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanInMageAzureV2FailoverInput",
+ modelProperties: __assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {
+ required: true,
+ serializedName: "vaultLocation",
+ type: {
+ name: "String"
+ }
+ }, recoveryPointType: {
+ required: true,
+ serializedName: "recoveryPointType",
+ type: {
+ name: "String"
+ }
+ }, useMultiVmSyncPoint: {
+ serializedName: "useMultiVmSyncPoint",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanInMageFailoverInput = {
+ serializedName: "InMage",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanInMageFailoverInput",
+ modelProperties: __assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { recoveryPointType: {
+ required: true,
+ serializedName: "recoveryPointType",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanManualActionDetails = {
+ serializedName: "ManualActionDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanActionDetails",
+ className: "RecoveryPlanManualActionDetails",
+ modelProperties: __assign({}, RecoveryPlanActionDetails.type.modelProperties, { description: {
+ serializedName: "description",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanPlannedFailoverInputProperties = {
+ serializedName: "RecoveryPlanPlannedFailoverInputProperties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanPlannedFailoverInputProperties",
+ modelProperties: {
+ failoverDirection: {
+ required: true,
+ serializedName: "failoverDirection",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanProviderSpecificFailoverInput"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanPlannedFailoverInput = {
+ serializedName: "RecoveryPlanPlannedFailoverInput",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanPlannedFailoverInput",
+ modelProperties: {
+ properties: {
+ required: true,
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanPlannedFailoverInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanScriptActionDetails = {
+ serializedName: "ScriptActionDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator,
+ uberParent: "RecoveryPlanActionDetails",
+ className: "RecoveryPlanScriptActionDetails",
+ modelProperties: __assign({}, RecoveryPlanActionDetails.type.modelProperties, { path: {
+ required: true,
+ serializedName: "path",
+ type: {
+ name: "String"
+ }
+ }, timeout: {
+ serializedName: "timeout",
+ type: {
+ name: "String"
+ }
+ }, fabricLocation: {
+ required: true,
+ serializedName: "fabricLocation",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanShutdownGroupTaskDetails = {
+ serializedName: "RecoveryPlanShutdownGroupTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator,
+ uberParent: "GroupTaskDetails",
+ className: "RecoveryPlanShutdownGroupTaskDetails",
+ modelProperties: __assign({}, GroupTaskDetails.type.modelProperties, { name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ }, groupId: {
+ serializedName: "groupId",
+ type: {
+ name: "String"
+ }
+ }, rpGroupType: {
+ serializedName: "rpGroupType",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var RecoveryPlanTestFailoverCleanupInputProperties = {
+ serializedName: "RecoveryPlanTestFailoverCleanupInputProperties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanTestFailoverCleanupInputProperties",
+ modelProperties: {
+ comments: {
+ serializedName: "comments",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanTestFailoverCleanupInput = {
+ serializedName: "RecoveryPlanTestFailoverCleanupInput",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanTestFailoverCleanupInput",
+ modelProperties: {
+ properties: {
+ required: true,
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanTestFailoverCleanupInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanTestFailoverInputProperties = {
+ serializedName: "RecoveryPlanTestFailoverInputProperties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanTestFailoverInputProperties",
+ modelProperties: {
+ failoverDirection: {
+ required: true,
+ serializedName: "failoverDirection",
+ type: {
+ name: "String"
+ }
+ },
+ networkType: {
+ required: true,
+ serializedName: "networkType",
+ type: {
+ name: "String"
+ }
+ },
+ networkId: {
+ serializedName: "networkId",
+ type: {
+ name: "String"
+ }
+ },
+ skipTestFailoverCleanup: {
+ serializedName: "skipTestFailoverCleanup",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanProviderSpecificFailoverInput"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanTestFailoverInput = {
+ serializedName: "RecoveryPlanTestFailoverInput",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanTestFailoverInput",
+ modelProperties: {
+ properties: {
+ required: true,
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanTestFailoverInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanUnplannedFailoverInputProperties = {
+ serializedName: "RecoveryPlanUnplannedFailoverInputProperties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanUnplannedFailoverInputProperties",
+ modelProperties: {
+ failoverDirection: {
+ required: true,
+ serializedName: "failoverDirection",
+ type: {
+ name: "String"
+ }
+ },
+ sourceSiteOperations: {
+ required: true,
+ serializedName: "sourceSiteOperations",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "RecoveryPlanProviderSpecificFailoverInput",
+ className: "RecoveryPlanProviderSpecificFailoverInput"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanUnplannedFailoverInput = {
+ serializedName: "RecoveryPlanUnplannedFailoverInput",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanUnplannedFailoverInput",
+ modelProperties: {
+ properties: {
+ required: true,
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanUnplannedFailoverInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPointProperties = {
+ serializedName: "RecoveryPointProperties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPointProperties",
+ modelProperties: {
+ recoveryPointTime: {
+ serializedName: "recoveryPointTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ recoveryPointType: {
+ serializedName: "recoveryPointType",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProviderSpecificRecoveryPointDetails",
+ className: "ProviderSpecificRecoveryPointDetails"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPoint = {
+ serializedName: "RecoveryPoint",
+ type: {
+ name: "Composite",
+ className: "RecoveryPoint",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RecoveryPointProperties"
+ }
+ } })
+ }
+ };
+ var RecoveryServicesProviderProperties = {
+ serializedName: "RecoveryServicesProviderProperties",
+ type: {
+ name: "Composite",
+ className: "RecoveryServicesProviderProperties",
+ modelProperties: {
+ fabricType: {
+ serializedName: "fabricType",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ providerVersion: {
+ serializedName: "providerVersion",
+ type: {
+ name: "String"
+ }
+ },
+ serverVersion: {
+ serializedName: "serverVersion",
+ type: {
+ name: "String"
+ }
+ },
+ providerVersionState: {
+ serializedName: "providerVersionState",
+ type: {
+ name: "String"
+ }
+ },
+ providerVersionExpiryDate: {
+ serializedName: "providerVersionExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ },
+ fabricFriendlyName: {
+ serializedName: "fabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ lastHeartBeat: {
+ serializedName: "lastHeartBeat",
+ type: {
+ name: "DateTime"
+ }
+ },
+ connectionStatus: {
+ serializedName: "connectionStatus",
+ type: {
+ name: "String"
+ }
+ },
+ protectedItemCount: {
+ serializedName: "protectedItemCount",
+ type: {
+ name: "Number"
+ }
+ },
+ allowedScenarios: {
+ serializedName: "allowedScenarios",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ healthErrorDetails: {
+ serializedName: "healthErrorDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ draIdentifier: {
+ serializedName: "draIdentifier",
+ type: {
+ name: "String"
+ }
+ },
+ identityDetails: {
+ serializedName: "identityDetails",
+ type: {
+ name: "Composite",
+ className: "IdentityInformation"
+ }
+ },
+ providerVersionDetails: {
+ serializedName: "providerVersionDetails",
+ type: {
+ name: "Composite",
+ className: "VersionDetails"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryServicesProvider = {
+ serializedName: "RecoveryServicesProvider",
+ type: {
+ name: "Composite",
+ className: "RecoveryServicesProvider",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RecoveryServicesProviderProperties"
+ }
+ } })
+ }
+ };
+ var ReplicationProviderContainerUnmappingInput = {
+ serializedName: "ReplicationProviderContainerUnmappingInput",
+ type: {
+ name: "Composite",
+ className: "ReplicationProviderContainerUnmappingInput",
+ modelProperties: {
+ instanceType: {
+ serializedName: "instanceType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RemoveProtectionContainerMappingInputProperties = {
+ serializedName: "RemoveProtectionContainerMappingInputProperties",
+ type: {
+ name: "Composite",
+ className: "RemoveProtectionContainerMappingInputProperties",
+ modelProperties: {
+ providerSpecificInput: {
+ serializedName: "providerSpecificInput",
+ type: {
+ name: "Composite",
+ className: "ReplicationProviderContainerUnmappingInput"
+ }
+ }
+ }
+ }
+ };
+ var RemoveProtectionContainerMappingInput = {
+ serializedName: "RemoveProtectionContainerMappingInput",
+ type: {
+ name: "Composite",
+ className: "RemoveProtectionContainerMappingInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RemoveProtectionContainerMappingInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var RenewCertificateInputProperties = {
+ serializedName: "RenewCertificateInputProperties",
+ type: {
+ name: "Composite",
+ className: "RenewCertificateInputProperties",
+ modelProperties: {
+ renewCertificateType: {
+ serializedName: "renewCertificateType",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RenewCertificateInput = {
+ serializedName: "RenewCertificateInput",
+ type: {
+ name: "Composite",
+ className: "RenewCertificateInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "RenewCertificateInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var ReplicationGroupDetails = {
+ serializedName: "ReplicationGroupDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,
+ uberParent: "ConfigurationSettings",
+ className: "ReplicationGroupDetails",
+ modelProperties: __assign({}, ConfigurationSettings.type.modelProperties)
+ }
+ };
+ var ReplicationProtectedItemProperties = {
+ serializedName: "ReplicationProtectedItemProperties",
+ type: {
+ name: "Composite",
+ className: "ReplicationProtectedItemProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ protectedItemType: {
+ serializedName: "protectedItemType",
+ type: {
+ name: "String"
+ }
+ },
+ protectableItemId: {
+ serializedName: "protectableItemId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryServicesProviderId: {
+ serializedName: "recoveryServicesProviderId",
+ type: {
+ name: "String"
+ }
+ },
+ primaryFabricFriendlyName: {
+ serializedName: "primaryFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ primaryFabricProvider: {
+ serializedName: "primaryFabricProvider",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryFabricFriendlyName: {
+ serializedName: "recoveryFabricFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryFabricId: {
+ serializedName: "recoveryFabricId",
+ type: {
+ name: "String"
+ }
+ },
+ primaryProtectionContainerFriendlyName: {
+ serializedName: "primaryProtectionContainerFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryProtectionContainerFriendlyName: {
+ serializedName: "recoveryProtectionContainerFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ protectionState: {
+ serializedName: "protectionState",
+ type: {
+ name: "String"
+ }
+ },
+ protectionStateDescription: {
+ serializedName: "protectionStateDescription",
+ type: {
+ name: "String"
+ }
+ },
+ activeLocation: {
+ serializedName: "activeLocation",
+ type: {
+ name: "String"
+ }
+ },
+ testFailoverState: {
+ serializedName: "testFailoverState",
+ type: {
+ name: "String"
+ }
+ },
+ testFailoverStateDescription: {
+ serializedName: "testFailoverStateDescription",
+ type: {
+ name: "String"
+ }
+ },
+ allowedOperations: {
+ serializedName: "allowedOperations",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ },
+ replicationHealth: {
+ serializedName: "replicationHealth",
+ type: {
+ name: "String"
+ }
+ },
+ failoverHealth: {
+ serializedName: "failoverHealth",
+ type: {
+ name: "String"
+ }
+ },
+ healthErrors: {
+ serializedName: "healthErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ policyId: {
+ serializedName: "policyId",
+ type: {
+ name: "String"
+ }
+ },
+ policyFriendlyName: {
+ serializedName: "policyFriendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ lastSuccessfulFailoverTime: {
+ serializedName: "lastSuccessfulFailoverTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ lastSuccessfulTestFailoverTime: {
+ serializedName: "lastSuccessfulTestFailoverTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ currentScenario: {
+ serializedName: "currentScenario",
+ type: {
+ name: "Composite",
+ className: "CurrentScenarioDetails"
+ }
+ },
+ failoverRecoveryPointId: {
+ serializedName: "failoverRecoveryPointId",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificSettings",
+ className: "ReplicationProviderSpecificSettings"
+ }
+ },
+ recoveryContainerId: {
+ serializedName: "recoveryContainerId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ReplicationProtectedItem = {
+ serializedName: "ReplicationProtectedItem",
+ type: {
+ name: "Composite",
+ className: "ReplicationProtectedItem",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ReplicationProtectedItemProperties"
+ }
+ } })
+ }
+ };
+ var ResourceHealthSummary = {
+ 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"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var ResumeJobParamsProperties = {
+ serializedName: "ResumeJobParamsProperties",
+ type: {
+ name: "Composite",
+ className: "ResumeJobParamsProperties",
+ modelProperties: {
+ comments: {
+ serializedName: "comments",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ResumeJobParams = {
+ serializedName: "ResumeJobParams",
+ type: {
+ name: "Composite",
+ className: "ResumeJobParams",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ResumeJobParamsProperties"
+ }
+ }
+ }
+ }
+ };
+ var ReverseReplicationInputProperties = {
+ serializedName: "ReverseReplicationInputProperties",
+ type: {
+ name: "Composite",
+ className: "ReverseReplicationInputProperties",
+ modelProperties: {
+ failoverDirection: {
+ serializedName: "failoverDirection",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReverseReplicationProviderSpecificInput",
+ className: "ReverseReplicationProviderSpecificInput"
+ }
+ }
+ }
+ }
+ };
+ var ReverseReplicationInput = {
+ serializedName: "ReverseReplicationInput",
+ type: {
+ name: "Composite",
+ className: "ReverseReplicationInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "ReverseReplicationInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var RunAsAccount = {
+ serializedName: "RunAsAccount",
+ type: {
+ name: "Composite",
+ className: "RunAsAccount",
+ modelProperties: {
+ accountId: {
+ serializedName: "accountId",
+ type: {
+ name: "String"
+ }
+ },
+ accountName: {
+ serializedName: "accountName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var SanEnableProtectionInput = {
+ serializedName: "San",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "EnableProtectionProviderSpecificInput",
+ className: "SanEnableProtectionInput",
+ modelProperties: __assign({}, EnableProtectionProviderSpecificInput.type.modelProperties)
+ }
+ };
+ var ScriptActionTaskDetails = {
+ serializedName: "ScriptActionTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "ScriptActionTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ }, path: {
+ serializedName: "path",
+ type: {
+ name: "String"
+ }
+ }, output: {
+ serializedName: "output",
+ type: {
+ name: "String"
+ }
+ }, isPrimarySideScript: {
+ serializedName: "isPrimarySideScript",
+ type: {
+ name: "Boolean"
+ }
+ } })
+ }
+ };
+ var StorageClassificationProperties = {
+ serializedName: "StorageClassificationProperties",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var StorageClassification = {
+ serializedName: "StorageClassification",
+ type: {
+ name: "Composite",
+ className: "StorageClassification",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationProperties"
+ }
+ } })
+ }
+ };
+ var StorageClassificationMappingProperties = {
+ serializedName: "StorageClassificationMappingProperties",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationMappingProperties",
+ modelProperties: {
+ targetStorageClassificationId: {
+ serializedName: "targetStorageClassificationId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var StorageClassificationMapping = {
+ serializedName: "StorageClassificationMapping",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationMapping",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationMappingProperties"
+ }
+ } })
+ }
+ };
+ var StorageMappingInputProperties = {
+ serializedName: "StorageMappingInputProperties",
+ type: {
+ name: "Composite",
+ className: "StorageMappingInputProperties",
+ modelProperties: {
+ targetStorageClassificationId: {
+ serializedName: "targetStorageClassificationId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var StorageClassificationMappingInput = {
+ serializedName: "StorageClassificationMappingInput",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationMappingInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "StorageMappingInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var SwitchProtectionInputProperties = {
+ serializedName: "SwitchProtectionInputProperties",
+ type: {
+ name: "Composite",
+ className: "SwitchProtectionInputProperties",
+ modelProperties: {
+ replicationProtectedItemName: {
+ serializedName: "replicationProtectedItemName",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "SwitchProtectionProviderSpecificInput",
+ className: "SwitchProtectionProviderSpecificInput"
+ }
+ }
+ }
+ }
+ };
+ var SwitchProtectionInput = {
+ serializedName: "SwitchProtectionInput",
+ type: {
+ name: "Composite",
+ className: "SwitchProtectionInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "SwitchProtectionInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var SwitchProtectionJobDetails = {
+ serializedName: "SwitchProtectionJobDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
+ uberParent: "JobDetails",
+ className: "SwitchProtectionJobDetails",
+ modelProperties: __assign({}, JobDetails.type.modelProperties, { newReplicationProtectedItemId: {
+ serializedName: "newReplicationProtectedItemId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var TargetComputeSizeProperties = {
+ serializedName: "TargetComputeSizeProperties",
+ type: {
+ name: "Composite",
+ className: "TargetComputeSizeProperties",
+ modelProperties: {
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ cpuCoresCount: {
+ serializedName: "cpuCoresCount",
+ type: {
+ name: "Number"
+ }
+ },
+ memoryInGB: {
+ serializedName: "memoryInGB",
+ type: {
+ name: "Number"
+ }
+ },
+ maxDataDiskCount: {
+ serializedName: "maxDataDiskCount",
+ type: {
+ name: "Number"
+ }
+ },
+ maxNicsCount: {
+ serializedName: "maxNicsCount",
+ type: {
+ name: "Number"
+ }
+ },
+ errors: {
+ serializedName: "errors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ComputeSizeErrorDetails"
+ }
+ }
+ }
+ },
+ highIopsSupported: {
+ serializedName: "highIopsSupported",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var TargetComputeSize = {
+ serializedName: "TargetComputeSize",
+ type: {
+ name: "Composite",
+ className: "TargetComputeSize",
+ modelProperties: {
+ id: {
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ },
+ name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ },
+ type: {
+ serializedName: "type",
+ type: {
+ name: "String"
+ }
+ },
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "TargetComputeSizeProperties"
+ }
+ }
+ }
+ }
+ };
+ var TestFailoverCleanupInputProperties = {
+ serializedName: "TestFailoverCleanupInputProperties",
+ type: {
+ name: "Composite",
+ className: "TestFailoverCleanupInputProperties",
+ modelProperties: {
+ comments: {
+ serializedName: "comments",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var TestFailoverCleanupInput = {
+ serializedName: "TestFailoverCleanupInput",
+ type: {
+ name: "Composite",
+ className: "TestFailoverCleanupInput",
+ modelProperties: {
+ properties: {
+ required: true,
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "TestFailoverCleanupInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var TestFailoverInputProperties = {
+ serializedName: "TestFailoverInputProperties",
+ type: {
+ name: "Composite",
+ className: "TestFailoverInputProperties",
+ modelProperties: {
+ failoverDirection: {
+ serializedName: "failoverDirection",
+ type: {
+ name: "String"
+ }
+ },
+ networkType: {
+ serializedName: "networkType",
+ type: {
+ name: "String"
+ }
+ },
+ networkId: {
+ serializedName: "networkId",
+ type: {
+ name: "String"
+ }
+ },
+ skipTestFailoverCleanup: {
+ serializedName: "skipTestFailoverCleanup",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "ProviderSpecificFailoverInput"
+ }
+ }
+ }
+ }
+ };
+ var TestFailoverInput = {
+ serializedName: "TestFailoverInput",
+ type: {
+ name: "Composite",
+ className: "TestFailoverInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "TestFailoverInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var TestFailoverJobDetails = {
+ serializedName: "TestFailoverJobDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,
+ uberParent: "JobDetails",
+ className: "TestFailoverJobDetails",
+ modelProperties: __assign({}, JobDetails.type.modelProperties, { testFailoverStatus: {
+ serializedName: "testFailoverStatus",
+ type: {
+ name: "String"
+ }
+ }, comments: {
+ serializedName: "comments",
+ type: {
+ name: "String"
+ }
+ }, networkName: {
+ serializedName: "networkName",
+ type: {
+ name: "String"
+ }
+ }, networkFriendlyName: {
+ serializedName: "networkFriendlyName",
+ type: {
+ name: "String"
+ }
+ }, networkType: {
+ serializedName: "networkType",
+ type: {
+ name: "String"
+ }
+ }, protectedItemDetails: {
+ serializedName: "protectedItemDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "FailoverReplicationProtectedItemDetails"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var UnplannedFailoverInputProperties = {
+ serializedName: "UnplannedFailoverInputProperties",
+ type: {
+ name: "Composite",
+ className: "UnplannedFailoverInputProperties",
+ modelProperties: {
+ failoverDirection: {
+ serializedName: "failoverDirection",
+ type: {
+ name: "String"
+ }
+ },
+ sourceSiteOperations: {
+ serializedName: "sourceSiteOperations",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ProviderSpecificFailoverInput",
+ className: "ProviderSpecificFailoverInput"
+ }
+ }
+ }
+ }
+ };
+ var UnplannedFailoverInput = {
+ serializedName: "UnplannedFailoverInput",
+ type: {
+ name: "Composite",
+ className: "UnplannedFailoverInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UnplannedFailoverInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var UpdateMobilityServiceRequestProperties = {
+ serializedName: "UpdateMobilityServiceRequestProperties",
+ type: {
+ name: "Composite",
+ className: "UpdateMobilityServiceRequestProperties",
+ modelProperties: {
+ runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var UpdateMobilityServiceRequest = {
+ serializedName: "UpdateMobilityServiceRequest",
+ type: {
+ name: "Composite",
+ className: "UpdateMobilityServiceRequest",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UpdateMobilityServiceRequestProperties"
+ }
+ }
+ }
+ }
+ };
+ var UpdateNetworkMappingInputProperties = {
+ 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",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "FabricSpecificUpdateNetworkMappingInput",
+ className: "FabricSpecificUpdateNetworkMappingInput"
+ }
+ }
+ }
+ }
+ };
+ var UpdateNetworkMappingInput = {
+ serializedName: "UpdateNetworkMappingInput",
+ type: {
+ name: "Composite",
+ className: "UpdateNetworkMappingInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UpdateNetworkMappingInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var UpdatePolicyInputProperties = {
+ serializedName: "UpdatePolicyInputProperties",
+ type: {
+ name: "Composite",
+ className: "UpdatePolicyInputProperties",
+ modelProperties: {
+ replicationProviderSettings: {
+ serializedName: "replicationProviderSettings",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "PolicyProviderSpecificInput",
+ className: "PolicyProviderSpecificInput"
+ }
+ }
+ }
+ }
+ };
+ var UpdatePolicyInput = {
+ serializedName: "UpdatePolicyInput",
+ type: {
+ name: "Composite",
+ className: "UpdatePolicyInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UpdatePolicyInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var UpdateProtectionContainerMappingInputProperties = {
+ serializedName: "UpdateProtectionContainerMappingInputProperties",
+ type: {
+ name: "Composite",
+ className: "UpdateProtectionContainerMappingInputProperties",
+ modelProperties: {
+ providerSpecificInput: {
+ serializedName: "providerSpecificInput",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "ReplicationProviderSpecificUpdateContainerMappingInput",
+ className: "ReplicationProviderSpecificUpdateContainerMappingInput"
+ }
+ }
+ }
+ }
+ };
+ var UpdateProtectionContainerMappingInput = {
+ serializedName: "UpdateProtectionContainerMappingInput",
+ type: {
+ name: "Composite",
+ className: "UpdateProtectionContainerMappingInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UpdateProtectionContainerMappingInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var UpdateRecoveryPlanInputProperties = {
+ serializedName: "UpdateRecoveryPlanInputProperties",
+ type: {
+ name: "Composite",
+ className: "UpdateRecoveryPlanInputProperties",
+ modelProperties: {
+ groups: {
+ serializedName: "groups",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanGroup"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var UpdateRecoveryPlanInput = {
+ serializedName: "UpdateRecoveryPlanInput",
+ type: {
+ name: "Composite",
+ className: "UpdateRecoveryPlanInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UpdateRecoveryPlanInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var VMNicInputDetails = {
+ serializedName: "VMNicInputDetails",
+ type: {
+ name: "Composite",
+ className: "VMNicInputDetails",
+ modelProperties: {
+ nicId: {
+ serializedName: "nicId",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryVMSubnetName: {
+ serializedName: "recoveryVMSubnetName",
+ type: {
+ name: "String"
+ }
+ },
+ replicaNicStaticIPAddress: {
+ serializedName: "replicaNicStaticIPAddress",
+ type: {
+ name: "String"
+ }
+ },
+ selectionType: {
+ serializedName: "selectionType",
+ type: {
+ name: "String"
+ }
+ },
+ enableAcceleratedNetworkingOnRecovery: {
+ serializedName: "enableAcceleratedNetworkingOnRecovery",
+ type: {
+ name: "Boolean"
+ }
+ }
+ }
+ }
+ };
+ var UpdateReplicationProtectedItemInputProperties = {
+ serializedName: "UpdateReplicationProtectedItemInputProperties",
+ type: {
+ name: "Composite",
+ className: "UpdateReplicationProtectedItemInputProperties",
+ modelProperties: {
+ recoveryAzureVMName: {
+ serializedName: "recoveryAzureVMName",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryAzureVMSize: {
+ serializedName: "recoveryAzureVMSize",
+ type: {
+ name: "String"
+ }
+ },
+ selectedRecoveryAzureNetworkId: {
+ serializedName: "selectedRecoveryAzureNetworkId",
+ type: {
+ name: "String"
+ }
+ },
+ selectedSourceNicId: {
+ serializedName: "selectedSourceNicId",
+ type: {
+ name: "String"
+ }
+ },
+ enableRdpOnTargetOption: {
+ serializedName: "enableRdpOnTargetOption",
+ type: {
+ name: "String"
+ }
+ },
+ vmNics: {
+ serializedName: "vmNics",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VMNicInputDetails"
+ }
+ }
+ }
+ },
+ licenseType: {
+ serializedName: "licenseType",
+ type: {
+ name: "String"
+ }
+ },
+ recoveryAvailabilitySetId: {
+ serializedName: "recoveryAvailabilitySetId",
+ type: {
+ name: "String"
+ }
+ },
+ providerSpecificDetails: {
+ serializedName: "providerSpecificDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: {
+ serializedName: "instanceType",
+ clientName: "instanceType"
+ },
+ uberParent: "UpdateReplicationProtectedItemProviderInput",
+ className: "UpdateReplicationProtectedItemProviderInput"
+ }
+ }
+ }
+ }
+ };
+ var UpdateReplicationProtectedItemInput = {
+ serializedName: "UpdateReplicationProtectedItemInput",
+ type: {
+ name: "Composite",
+ className: "UpdateReplicationProtectedItemInput",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UpdateReplicationProtectedItemInputProperties"
+ }
+ }
+ }
+ }
+ };
+ var UpdateVCenterRequestProperties = {
+ serializedName: "UpdateVCenterRequestProperties",
+ type: {
+ name: "Composite",
+ className: "UpdateVCenterRequestProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ },
+ processServerId: {
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ },
+ port: {
+ serializedName: "port",
+ type: {
+ name: "String"
+ }
+ },
+ runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var UpdateVCenterRequest = {
+ serializedName: "UpdateVCenterRequest",
+ type: {
+ name: "Composite",
+ className: "UpdateVCenterRequest",
+ modelProperties: {
+ properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "UpdateVCenterRequestProperties"
+ }
+ }
+ }
+ }
+ };
+ var VaultHealthProperties = {
+ serializedName: "VaultHealthProperties",
+ type: {
+ name: "Composite",
+ className: "VaultHealthProperties",
+ modelProperties: {
+ vaultErrors: {
+ serializedName: "vaultErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ },
+ protectedItemsHealth: {
+ serializedName: "protectedItemsHealth",
+ type: {
+ name: "Composite",
+ className: "ResourceHealthSummary"
+ }
+ },
+ fabricsHealth: {
+ serializedName: "fabricsHealth",
+ type: {
+ name: "Composite",
+ className: "ResourceHealthSummary"
+ }
+ },
+ containersHealth: {
+ serializedName: "containersHealth",
+ type: {
+ name: "Composite",
+ className: "ResourceHealthSummary"
+ }
+ }
+ }
+ }
+ };
+ var VaultHealthDetails = {
+ serializedName: "VaultHealthDetails",
+ type: {
+ name: "Composite",
+ className: "VaultHealthDetails",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "VaultHealthProperties"
+ }
+ } })
+ }
+ };
+ var VCenterProperties = {
+ serializedName: "VCenterProperties",
+ type: {
+ name: "Composite",
+ className: "VCenterProperties",
+ modelProperties: {
+ friendlyName: {
+ serializedName: "friendlyName",
+ type: {
+ name: "String"
+ }
+ },
+ internalId: {
+ serializedName: "internalId",
+ type: {
+ name: "String"
+ }
+ },
+ lastHeartbeat: {
+ serializedName: "lastHeartbeat",
+ type: {
+ name: "DateTime"
+ }
+ },
+ discoveryStatus: {
+ serializedName: "discoveryStatus",
+ type: {
+ name: "String"
+ }
+ },
+ processServerId: {
+ serializedName: "processServerId",
+ type: {
+ name: "String"
+ }
+ },
+ ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ },
+ infrastructureId: {
+ serializedName: "infrastructureId",
+ type: {
+ name: "String"
+ }
+ },
+ port: {
+ serializedName: "port",
+ type: {
+ name: "String"
+ }
+ },
+ runAsAccountId: {
+ serializedName: "runAsAccountId",
+ type: {
+ name: "String"
+ }
+ },
+ fabricArmResourceName: {
+ serializedName: "fabricArmResourceName",
+ type: {
+ name: "String"
+ }
+ },
+ healthErrors: {
+ serializedName: "healthErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ }
+ }
+ }
+ };
+ var VCenter = {
+ serializedName: "VCenter",
+ type: {
+ name: "Composite",
+ className: "VCenter",
+ modelProperties: __assign({}, Resource.type.modelProperties, { properties: {
+ serializedName: "properties",
+ type: {
+ name: "Composite",
+ className: "VCenterProperties"
+ }
+ } })
+ }
+ };
+ var VirtualMachineTaskDetails = {
+ serializedName: "VirtualMachineTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "VirtualMachineTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { skippedReason: {
+ serializedName: "skippedReason",
+ type: {
+ name: "String"
+ }
+ }, skippedReasonString: {
+ serializedName: "skippedReasonString",
+ type: {
+ name: "String"
+ }
+ }, jobTask: {
+ serializedName: "jobTask",
+ type: {
+ name: "Composite",
+ className: "JobEntity"
+ }
+ } })
+ }
+ };
+ var VmmDetails = {
+ serializedName: "VMM",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificDetails",
+ className: "VmmDetails",
+ modelProperties: __assign({}, FabricSpecificDetails.type.modelProperties)
+ }
+ };
+ var VmmToAzureCreateNetworkMappingInput = {
+ serializedName: "VmmToAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificCreateNetworkMappingInput",
+ className: "VmmToAzureCreateNetworkMappingInput",
+ modelProperties: __assign({}, FabricSpecificCreateNetworkMappingInput.type.modelProperties)
+ }
+ };
+ var VmmToAzureNetworkMappingSettings = {
+ serializedName: "VmmToAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "NetworkMappingFabricSpecificSettings",
+ className: "VmmToAzureNetworkMappingSettings",
+ modelProperties: __assign({}, NetworkMappingFabricSpecificSettings.type.modelProperties)
+ }
+ };
+ var VmmToAzureUpdateNetworkMappingInput = {
+ serializedName: "VmmToAzure",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificUpdateNetworkMappingInput",
+ className: "VmmToAzureUpdateNetworkMappingInput",
+ modelProperties: __assign({}, FabricSpecificUpdateNetworkMappingInput.type.modelProperties)
+ }
+ };
+ var VmmToVmmCreateNetworkMappingInput = {
+ serializedName: "VmmToVmm",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificCreateNetworkMappingInput",
+ className: "VmmToVmmCreateNetworkMappingInput",
+ modelProperties: __assign({}, FabricSpecificCreateNetworkMappingInput.type.modelProperties)
+ }
+ };
+ var VmmToVmmNetworkMappingSettings = {
+ serializedName: "VmmToVmm",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator,
+ uberParent: "NetworkMappingFabricSpecificSettings",
+ className: "VmmToVmmNetworkMappingSettings",
+ modelProperties: __assign({}, NetworkMappingFabricSpecificSettings.type.modelProperties)
+ }
+ };
+ var VmmToVmmUpdateNetworkMappingInput = {
+ serializedName: "VmmToVmm",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificUpdateNetworkMappingInput",
+ className: "VmmToVmmUpdateNetworkMappingInput",
+ modelProperties: __assign({}, FabricSpecificUpdateNetworkMappingInput.type.modelProperties)
+ }
+ };
+ var VmmVirtualMachineDetails = {
+ serializedName: "VmmVirtualMachine",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,
+ uberParent: "ConfigurationSettings",
+ className: "VmmVirtualMachineDetails",
+ modelProperties: __assign({}, ConfigurationSettings.type.modelProperties, { sourceItemId: {
+ serializedName: "sourceItemId",
+ type: {
+ name: "String"
+ }
+ }, generation: {
+ serializedName: "generation",
+ type: {
+ name: "String"
+ }
+ }, osDetails: {
+ serializedName: "osDetails",
+ type: {
+ name: "Composite",
+ className: "OSDetails"
+ }
+ }, diskDetails: {
+ serializedName: "diskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DiskDetails"
+ }
+ }
+ }
+ }, hasPhysicalDisk: {
+ serializedName: "hasPhysicalDisk",
+ type: {
+ name: "String"
+ }
+ }, hasFibreChannelAdapter: {
+ serializedName: "hasFibreChannelAdapter",
+ type: {
+ name: "String"
+ }
+ }, hasSharedVhd: {
+ serializedName: "hasSharedVhd",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var VmNicUpdatesTaskDetails = {
+ serializedName: "VmNicUpdatesTaskDetails",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,
+ uberParent: "TaskTypeDetails",
+ className: "VmNicUpdatesTaskDetails",
+ modelProperties: __assign({}, TaskTypeDetails.type.modelProperties, { vmId: {
+ serializedName: "vmId",
+ type: {
+ name: "String"
+ }
+ }, nicId: {
+ serializedName: "nicId",
+ type: {
+ name: "String"
+ }
+ }, name: {
+ serializedName: "name",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var VMwareCbtPolicyCreationInput = {
+ serializedName: "VMwareCbt",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificInput",
+ className: "VMwareCbtPolicyCreationInput",
+ modelProperties: __assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, crashConsistentFrequencyInMinutes: {
+ serializedName: "crashConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ } })
+ }
+ };
+ var VmwareCbtPolicyDetails = {
+ serializedName: "VMwareCbt",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "PolicyProviderSpecificDetails",
+ className: "VmwareCbtPolicyDetails",
+ modelProperties: __assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {
+ serializedName: "recoveryPointThresholdInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, recoveryPointHistory: {
+ serializedName: "recoveryPointHistory",
+ type: {
+ name: "Number"
+ }
+ }, appConsistentFrequencyInMinutes: {
+ serializedName: "appConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ }, crashConsistentFrequencyInMinutes: {
+ serializedName: "crashConsistentFrequencyInMinutes",
+ type: {
+ name: "Number"
+ }
+ } })
+ }
+ };
+ var VMwareDetails = {
+ serializedName: "VMware",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificDetails",
+ className: "VMwareDetails",
+ modelProperties: __assign({}, FabricSpecificDetails.type.modelProperties, { processServers: {
+ serializedName: "processServers",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProcessServer"
+ }
+ }
+ }
+ }, masterTargetServers: {
+ serializedName: "masterTargetServers",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "MasterTargetServer"
+ }
+ }
+ }
+ }, runAsAccounts: {
+ serializedName: "runAsAccounts",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RunAsAccount"
+ }
+ }
+ }
+ }, replicationPairCount: {
+ serializedName: "replicationPairCount",
+ type: {
+ name: "String"
+ }
+ }, processServerCount: {
+ serializedName: "processServerCount",
+ type: {
+ name: "String"
+ }
+ }, agentCount: {
+ serializedName: "agentCount",
+ type: {
+ name: "String"
+ }
+ }, protectedServers: {
+ serializedName: "protectedServers",
+ type: {
+ name: "String"
+ }
+ }, systemLoad: {
+ serializedName: "systemLoad",
+ type: {
+ name: "String"
+ }
+ }, systemLoadStatus: {
+ serializedName: "systemLoadStatus",
+ type: {
+ name: "String"
+ }
+ }, cpuLoad: {
+ serializedName: "cpuLoad",
+ type: {
+ name: "String"
+ }
+ }, cpuLoadStatus: {
+ serializedName: "cpuLoadStatus",
+ type: {
+ name: "String"
+ }
+ }, totalMemoryInBytes: {
+ serializedName: "totalMemoryInBytes",
+ type: {
+ name: "Number"
+ }
+ }, availableMemoryInBytes: {
+ serializedName: "availableMemoryInBytes",
+ type: {
+ name: "Number"
+ }
+ }, memoryUsageStatus: {
+ serializedName: "memoryUsageStatus",
+ type: {
+ name: "String"
+ }
+ }, totalSpaceInBytes: {
+ serializedName: "totalSpaceInBytes",
+ type: {
+ name: "Number"
+ }
+ }, availableSpaceInBytes: {
+ serializedName: "availableSpaceInBytes",
+ type: {
+ name: "Number"
+ }
+ }, spaceUsageStatus: {
+ serializedName: "spaceUsageStatus",
+ type: {
+ name: "String"
+ }
+ }, webLoad: {
+ serializedName: "webLoad",
+ type: {
+ name: "String"
+ }
+ }, webLoadStatus: {
+ serializedName: "webLoadStatus",
+ type: {
+ name: "String"
+ }
+ }, databaseServerLoad: {
+ serializedName: "databaseServerLoad",
+ type: {
+ name: "String"
+ }
+ }, databaseServerLoadStatus: {
+ serializedName: "databaseServerLoadStatus",
+ type: {
+ name: "String"
+ }
+ }, csServiceStatus: {
+ serializedName: "csServiceStatus",
+ type: {
+ name: "String"
+ }
+ }, ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ }, agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ }, hostName: {
+ serializedName: "hostName",
+ type: {
+ name: "String"
+ }
+ }, lastHeartbeat: {
+ serializedName: "lastHeartbeat",
+ type: {
+ name: "DateTime"
+ }
+ }, versionStatus: {
+ serializedName: "versionStatus",
+ type: {
+ name: "String"
+ }
+ }, sslCertExpiryDate: {
+ serializedName: "sslCertExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ }, sslCertExpiryRemainingDays: {
+ serializedName: "sslCertExpiryRemainingDays",
+ type: {
+ name: "Number"
+ }
+ }, psTemplateVersion: {
+ serializedName: "psTemplateVersion",
+ type: {
+ name: "String"
+ }
+ }, agentExpiryDate: {
+ serializedName: "agentExpiryDate",
+ type: {
+ name: "DateTime"
+ }
+ }, agentVersionDetails: {
+ serializedName: "agentVersionDetails",
+ type: {
+ name: "Composite",
+ className: "VersionDetails"
+ }
+ } })
+ }
+ };
+ var VMwareV2FabricCreationInput = {
+ serializedName: "VMwareV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificCreationInput",
+ className: "VMwareV2FabricCreationInput",
+ modelProperties: __assign({}, FabricSpecificCreationInput.type.modelProperties, { keyVaultUrl: {
+ serializedName: "keyVaultUrl",
+ type: {
+ name: "String"
+ }
+ }, keyVaultResourceArmId: {
+ serializedName: "keyVaultResourceArmId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var VMwareV2FabricSpecificDetails = {
+ serializedName: "VMwareV2",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,
+ uberParent: "FabricSpecificDetails",
+ className: "VMwareV2FabricSpecificDetails",
+ modelProperties: __assign({}, FabricSpecificDetails.type.modelProperties, { srsServiceEndpoint: {
+ serializedName: "srsServiceEndpoint",
+ type: {
+ name: "String"
+ }
+ }, rcmServiceEndpoint: {
+ serializedName: "rcmServiceEndpoint",
+ type: {
+ name: "String"
+ }
+ }, keyVaultUrl: {
+ serializedName: "keyVaultUrl",
+ type: {
+ name: "String"
+ }
+ }, keyVaultResourceArmId: {
+ serializedName: "keyVaultResourceArmId",
+ type: {
+ name: "String"
+ }
+ } })
+ }
+ };
+ var VMwareVirtualMachineDetails = {
+ serializedName: "VMwareVirtualMachine",
+ type: {
+ name: "Composite",
+ polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,
+ uberParent: "ConfigurationSettings",
+ className: "VMwareVirtualMachineDetails",
+ modelProperties: __assign({}, ConfigurationSettings.type.modelProperties, { agentGeneratedId: {
+ serializedName: "agentGeneratedId",
+ type: {
+ name: "String"
+ }
+ }, agentInstalled: {
+ serializedName: "agentInstalled",
+ type: {
+ name: "String"
+ }
+ }, osType: {
+ serializedName: "osType",
+ type: {
+ name: "String"
+ }
+ }, agentVersion: {
+ serializedName: "agentVersion",
+ type: {
+ name: "String"
+ }
+ }, ipAddress: {
+ serializedName: "ipAddress",
+ type: {
+ name: "String"
+ }
+ }, poweredOn: {
+ serializedName: "poweredOn",
+ type: {
+ name: "String"
+ }
+ }, vCenterInfrastructureId: {
+ serializedName: "vCenterInfrastructureId",
+ type: {
+ name: "String"
+ }
+ }, discoveryType: {
+ serializedName: "discoveryType",
+ type: {
+ name: "String"
+ }
+ }, diskDetails: {
+ serializedName: "diskDetails",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InMageDiskDetails"
+ }
+ }
+ }
+ }, validationErrors: {
+ serializedName: "validationErrors",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "HealthError"
+ }
+ }
+ }
+ } })
+ }
+ };
+ var OperationsDiscoveryCollection = {
+ serializedName: "OperationsDiscoveryCollection",
+ type: {
+ name: "Composite",
+ className: "OperationsDiscoveryCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "OperationsDiscovery"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var AlertCollection = {
+ serializedName: "AlertCollection",
+ type: {
+ name: "Composite",
+ className: "AlertCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Alert"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var EventCollection = {
+ serializedName: "EventCollection",
+ type: {
+ name: "Composite",
+ className: "EventCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Event"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var FabricCollection = {
+ serializedName: "FabricCollection",
+ type: {
+ name: "Composite",
+ className: "FabricCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Fabric"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var LogicalNetworkCollection = {
+ serializedName: "LogicalNetworkCollection",
+ type: {
+ name: "Composite",
+ className: "LogicalNetworkCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "LogicalNetwork"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var NetworkCollection = {
+ serializedName: "NetworkCollection",
+ type: {
+ name: "Composite",
+ className: "NetworkCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Network"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var NetworkMappingCollection = {
+ serializedName: "NetworkMappingCollection",
+ type: {
+ name: "Composite",
+ className: "NetworkMappingCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "NetworkMapping"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectionContainerCollection = {
+ serializedName: "ProtectionContainerCollection",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectionContainer"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectableItemCollection = {
+ serializedName: "ProtectableItemCollection",
+ type: {
+ name: "Composite",
+ className: "ProtectableItemCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectableItem"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ReplicationProtectedItemCollection = {
+ serializedName: "ReplicationProtectedItemCollection",
+ type: {
+ name: "Composite",
+ className: "ReplicationProtectedItemCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ReplicationProtectedItem"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPointCollection = {
+ serializedName: "RecoveryPointCollection",
+ type: {
+ name: "Composite",
+ className: "RecoveryPointCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPoint"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var TargetComputeSizeCollection = {
+ serializedName: "TargetComputeSizeCollection",
+ type: {
+ name: "Composite",
+ className: "TargetComputeSizeCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "TargetComputeSize"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var ProtectionContainerMappingCollection = {
+ serializedName: "ProtectionContainerMappingCollection",
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerMappingCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "ProtectionContainerMapping"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryServicesProviderCollection = {
+ serializedName: "RecoveryServicesProviderCollection",
+ type: {
+ name: "Composite",
+ className: "RecoveryServicesProviderCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryServicesProvider"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var StorageClassificationCollection = {
+ serializedName: "StorageClassificationCollection",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "StorageClassification"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var StorageClassificationMappingCollection = {
+ serializedName: "StorageClassificationMappingCollection",
+ type: {
+ name: "Composite",
+ className: "StorageClassificationMappingCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "StorageClassificationMapping"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var VCenterCollection = {
+ serializedName: "VCenterCollection",
+ type: {
+ name: "Composite",
+ className: "VCenterCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "VCenter"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var JobCollection = {
+ serializedName: "JobCollection",
+ type: {
+ name: "Composite",
+ className: "JobCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Job"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var PolicyCollection = {
+ serializedName: "PolicyCollection",
+ type: {
+ name: "Composite",
+ className: "PolicyCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "Policy"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var RecoveryPlanCollection = {
+ serializedName: "RecoveryPlanCollection",
+ type: {
+ name: "Composite",
+ className: "RecoveryPlanCollection",
+ modelProperties: {
+ value: {
+ serializedName: "",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "RecoveryPlan"
+ }
+ }
+ }
+ },
+ nextLink: {
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ };
+ var discriminators = {
+ 'ApplyRecoveryPointProviderSpecificInput.A2A': A2AApplyRecoveryPointInput,
+ 'ReplicationProviderSpecificContainerCreationInput.A2A': A2AContainerCreationInput,
+ 'ReplicationProviderSpecificContainerMappingInput.A2A': A2AContainerMappingInput,
+ 'EnableProtectionProviderSpecificInput.A2A': A2AEnableProtectionInput,
+ 'EventProviderSpecificDetails.A2A': A2AEventDetails,
+ 'ProviderSpecificFailoverInput.A2A': A2AFailoverProviderInput,
+ 'PolicyProviderSpecificInput.A2A': A2APolicyCreationInput,
+ 'PolicyProviderSpecificDetails.A2A': A2APolicyDetails,
+ 'ProtectionContainerMappingProviderSpecificDetails.A2A': A2AProtectionContainerMappingDetails,
+ 'ProviderSpecificRecoveryPointDetails.A2A': A2ARecoveryPointDetails,
+ 'ReplicationProviderSpecificSettings.A2A': A2AReplicationDetails,
+ 'ReverseReplicationProviderSpecificInput.A2A': A2AReprotectInput,
+ 'SwitchProtectionProviderSpecificInput.A2A': A2ASwitchProtectionInput,
+ 'ReplicationProviderSpecificUpdateContainerMappingInput.A2A': A2AUpdateContainerMappingInput,
+ 'UpdateReplicationProtectedItemProviderInput.A2A': A2AUpdateReplicationProtectedItemInput,
+ 'ApplyRecoveryPointProviderSpecificInput': ApplyRecoveryPointProviderSpecificInput,
+ 'JobDetails.AsrJobDetails': AsrJobDetails,
+ 'TaskTypeDetails': TaskTypeDetails,
+ 'GroupTaskDetails': GroupTaskDetails,
+ 'TaskTypeDetails.AutomationRunbookTaskDetails': AutomationRunbookTaskDetails,
+ 'FabricSpecificCreationInput.Azure': AzureFabricCreationInput,
+ 'FabricSpecificDetails.Azure': AzureFabricSpecificDetails,
+ 'FabricSpecificCreateNetworkMappingInput.AzureToAzure': AzureToAzureCreateNetworkMappingInput,
+ 'NetworkMappingFabricSpecificSettings.AzureToAzure': AzureToAzureNetworkMappingSettings,
+ 'FabricSpecificUpdateNetworkMappingInput.AzureToAzure': AzureToAzureUpdateNetworkMappingInput,
+ 'ConfigurationSettings': ConfigurationSettings,
+ 'TaskTypeDetails.ConsistencyCheckTaskDetails': ConsistencyCheckTaskDetails,
+ 'FabricSpecificCreateNetworkMappingInput': FabricSpecificCreateNetworkMappingInput,
+ 'PolicyProviderSpecificInput': PolicyProviderSpecificInput,
+ 'ReplicationProviderSpecificContainerCreationInput': ReplicationProviderSpecificContainerCreationInput,
+ 'ReplicationProviderSpecificContainerMappingInput': ReplicationProviderSpecificContainerMappingInput,
+ 'RecoveryPlanActionDetails': RecoveryPlanActionDetails,
+ 'DisableProtectionProviderSpecificInput': DisableProtectionProviderSpecificInput,
+ 'EnableProtectionProviderSpecificInput': EnableProtectionProviderSpecificInput,
+ 'EventProviderSpecificDetails': EventProviderSpecificDetails,
+ 'EventSpecificDetails': EventSpecificDetails,
+ 'JobDetails.ExportJobDetails': ExportJobDetails,
+ 'FabricSpecificDetails': FabricSpecificDetails,
+ 'FabricSpecificCreationInput': FabricSpecificCreationInput,
+ 'TaskTypeDetails.FabricReplicationGroupTaskDetails': FabricReplicationGroupTaskDetails,
+ 'FabricSpecificUpdateNetworkMappingInput': FabricSpecificUpdateNetworkMappingInput,
+ 'JobDetails.FailoverJobDetails': FailoverJobDetails,
+ 'EventProviderSpecificDetails.HyperVReplica2012': HyperVReplica2012EventDetails,
+ 'EventProviderSpecificDetails.HyperVReplica2012R2': HyperVReplica2012R2EventDetails,
+ 'ApplyRecoveryPointProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzureApplyRecoveryPointInput,
+ 'EnableProtectionProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzureEnableProtectionInput,
+ 'EventProviderSpecificDetails.HyperVReplicaAzure': HyperVReplicaAzureEventDetails,
+ 'ProviderSpecificFailoverInput.HyperVReplicaAzureFailback': HyperVReplicaAzureFailbackProviderInput,
+ 'ProviderSpecificFailoverInput.HyperVReplicaAzure': HyperVReplicaAzureFailoverProviderInput,
+ 'PolicyProviderSpecificDetails.HyperVReplicaAzure': HyperVReplicaAzurePolicyDetails,
+ 'PolicyProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzurePolicyInput,
+ 'ReplicationProviderSpecificSettings.HyperVReplicaAzure': HyperVReplicaAzureReplicationDetails,
+ 'ReverseReplicationProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzureReprotectInput,
+ 'UpdateReplicationProtectedItemProviderInput.HyperVReplicaAzure': HyperVReplicaAzureUpdateReplicationProtectedItemInput,
+ 'EventProviderSpecificDetails.HyperVReplicaBaseEventDetails': HyperVReplicaBaseEventDetails,
+ 'PolicyProviderSpecificDetails.HyperVReplicaBasePolicyDetails': HyperVReplicaBasePolicyDetails,
+ 'ReplicationProviderSpecificSettings.HyperVReplicaBaseReplicationDetails': HyperVReplicaBaseReplicationDetails,
+ 'PolicyProviderSpecificDetails.HyperVReplica2012R2': HyperVReplicaBluePolicyDetails,
+ 'PolicyProviderSpecificInput.HyperVReplica2012R2': HyperVReplicaBluePolicyInput,
+ 'ReplicationProviderSpecificSettings.HyperVReplica2012R2': HyperVReplicaBlueReplicationDetails,
+ 'PolicyProviderSpecificDetails.HyperVReplica2012': HyperVReplicaPolicyDetails,
+ 'PolicyProviderSpecificInput.HyperVReplica2012': HyperVReplicaPolicyInput,
+ 'ReplicationProviderSpecificSettings.HyperVReplica2012': HyperVReplicaReplicationDetails,
+ 'FabricSpecificDetails.HyperVSite': HyperVSiteDetails,
+ 'ConfigurationSettings.HyperVVirtualMachine': HyperVVirtualMachineDetails,
+ 'GroupTaskDetails.InlineWorkflowTaskDetails': InlineWorkflowTaskDetails,
+ 'ApplyRecoveryPointProviderSpecificInput.InMageAzureV2': InMageAzureV2ApplyRecoveryPointInput,
+ 'EnableProtectionProviderSpecificInput.InMageAzureV2': InMageAzureV2EnableProtectionInput,
+ 'EventProviderSpecificDetails.InMageAzureV2': InMageAzureV2EventDetails,
+ 'ProviderSpecificFailoverInput.InMageAzureV2': InMageAzureV2FailoverProviderInput,
+ 'PolicyProviderSpecificDetails.InMageAzureV2': InMageAzureV2PolicyDetails,
+ 'PolicyProviderSpecificInput.InMageAzureV2': InMageAzureV2PolicyInput,
+ 'ProviderSpecificRecoveryPointDetails.InMageAzureV2': InMageAzureV2RecoveryPointDetails,
+ 'ReplicationProviderSpecificSettings.InMageAzureV2': InMageAzureV2ReplicationDetails,
+ 'ReverseReplicationProviderSpecificInput.InMageAzureV2': InMageAzureV2ReprotectInput,
+ 'UpdateReplicationProtectedItemProviderInput.InMageAzureV2': InMageAzureV2UpdateReplicationProtectedItemInput,
+ 'PolicyProviderSpecificDetails.InMageBasePolicyDetails': InMageBasePolicyDetails,
+ 'DisableProtectionProviderSpecificInput.InMage': InMageDisableProtectionProviderSpecificInput,
+ 'EnableProtectionProviderSpecificInput.InMage': InMageEnableProtectionInput,
+ 'ProviderSpecificFailoverInput.InMage': InMageFailoverProviderInput,
+ 'PolicyProviderSpecificDetails.InMage': InMagePolicyDetails,
+ 'PolicyProviderSpecificInput.InMage': InMagePolicyInput,
+ 'ReplicationProviderSpecificSettings.InMage': InMageReplicationDetails,
+ 'ReverseReplicationProviderSpecificInput.InMage': InMageReprotectInput,
+ 'JobDetails': JobDetails,
+ 'EventSpecificDetails.JobStatus': JobStatusEventDetails,
+ 'TaskTypeDetails.JobTaskDetails': JobTaskDetails,
+ 'TaskTypeDetails.ManualActionTaskDetails': ManualActionTaskDetails,
+ 'NetworkMappingFabricSpecificSettings': NetworkMappingFabricSpecificSettings,
+ 'ProviderSpecificFailoverInput': ProviderSpecificFailoverInput,
+ 'PolicyProviderSpecificDetails': PolicyProviderSpecificDetails,
+ 'ProtectionContainerMappingProviderSpecificDetails': ProtectionContainerMappingProviderSpecificDetails,
+ 'ProviderSpecificRecoveryPointDetails': ProviderSpecificRecoveryPointDetails,
+ 'PolicyProviderSpecificDetails.RcmAzureMigration': RcmAzureMigrationPolicyDetails,
+ 'RecoveryPlanProviderSpecificFailoverInput.A2A': RecoveryPlanA2AFailoverInput,
+ 'RecoveryPlanActionDetails.AutomationRunbookActionDetails': RecoveryPlanAutomationRunbookActionDetails,
+ 'GroupTaskDetails.RecoveryPlanGroupTaskDetails': RecoveryPlanGroupTaskDetails,
+ 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzureFailback': RecoveryPlanHyperVReplicaAzureFailbackInput,
+ 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzure': RecoveryPlanHyperVReplicaAzureFailoverInput,
+ 'RecoveryPlanProviderSpecificFailoverInput.InMageAzureV2': RecoveryPlanInMageAzureV2FailoverInput,
+ 'RecoveryPlanProviderSpecificFailoverInput.InMage': RecoveryPlanInMageFailoverInput,
+ 'RecoveryPlanActionDetails.ManualActionDetails': RecoveryPlanManualActionDetails,
+ 'RecoveryPlanProviderSpecificFailoverInput': RecoveryPlanProviderSpecificFailoverInput,
+ 'RecoveryPlanActionDetails.ScriptActionDetails': RecoveryPlanScriptActionDetails,
+ 'GroupTaskDetails.RecoveryPlanShutdownGroupTaskDetails': RecoveryPlanShutdownGroupTaskDetails,
+ 'ConfigurationSettings.ReplicationGroupDetails': ReplicationGroupDetails,
+ 'ReplicationProviderSpecificSettings': ReplicationProviderSpecificSettings,
+ 'ReplicationProviderSpecificUpdateContainerMappingInput': ReplicationProviderSpecificUpdateContainerMappingInput,
+ 'ReverseReplicationProviderSpecificInput': ReverseReplicationProviderSpecificInput,
+ 'EnableProtectionProviderSpecificInput.San': SanEnableProtectionInput,
+ 'TaskTypeDetails.ScriptActionTaskDetails': ScriptActionTaskDetails,
+ 'SwitchProtectionProviderSpecificInput': SwitchProtectionProviderSpecificInput,
+ 'JobDetails.SwitchProtectionJobDetails': SwitchProtectionJobDetails,
+ 'JobDetails.TestFailoverJobDetails': TestFailoverJobDetails,
+ 'UpdateReplicationProtectedItemProviderInput': UpdateReplicationProtectedItemProviderInput,
+ 'TaskTypeDetails.VirtualMachineTaskDetails': VirtualMachineTaskDetails,
+ 'FabricSpecificDetails.VMM': VmmDetails,
+ 'FabricSpecificCreateNetworkMappingInput.VmmToAzure': VmmToAzureCreateNetworkMappingInput,
+ 'NetworkMappingFabricSpecificSettings.VmmToAzure': VmmToAzureNetworkMappingSettings,
+ 'FabricSpecificUpdateNetworkMappingInput.VmmToAzure': VmmToAzureUpdateNetworkMappingInput,
+ 'FabricSpecificCreateNetworkMappingInput.VmmToVmm': VmmToVmmCreateNetworkMappingInput,
+ 'NetworkMappingFabricSpecificSettings.VmmToVmm': VmmToVmmNetworkMappingSettings,
+ 'FabricSpecificUpdateNetworkMappingInput.VmmToVmm': VmmToVmmUpdateNetworkMappingInput,
+ 'ConfigurationSettings.VmmVirtualMachine': VmmVirtualMachineDetails,
+ 'TaskTypeDetails.VmNicUpdatesTaskDetails': VmNicUpdatesTaskDetails,
+ 'PolicyProviderSpecificInput.VMwareCbt': VMwareCbtPolicyCreationInput,
+ 'PolicyProviderSpecificDetails.VMwareCbt': VmwareCbtPolicyDetails,
+ 'FabricSpecificDetails.VMware': VMwareDetails,
+ 'FabricSpecificCreationInput.VMwareV2': VMwareV2FabricCreationInput,
+ 'FabricSpecificDetails.VMwareV2': VMwareV2FabricSpecificDetails,
+ 'ConfigurationSettings.VMwareVirtualMachine': VMwareVirtualMachineDetails
+ };
+
+ var mappers = /*#__PURE__*/Object.freeze({
+ CloudError: CloudError,
+ BaseResource: BaseResource,
+ ApplyRecoveryPointProviderSpecificInput: ApplyRecoveryPointProviderSpecificInput,
+ A2AApplyRecoveryPointInput: A2AApplyRecoveryPointInput,
+ ReplicationProviderSpecificContainerCreationInput: ReplicationProviderSpecificContainerCreationInput,
+ A2AContainerCreationInput: A2AContainerCreationInput,
+ ReplicationProviderSpecificContainerMappingInput: ReplicationProviderSpecificContainerMappingInput,
+ A2AContainerMappingInput: A2AContainerMappingInput,
+ A2AVmDiskInputDetails: A2AVmDiskInputDetails,
+ A2AVmManagedDiskInputDetails: A2AVmManagedDiskInputDetails,
+ DiskEncryptionKeyInfo: DiskEncryptionKeyInfo,
+ KeyEncryptionKeyInfo: KeyEncryptionKeyInfo,
+ DiskEncryptionInfo: DiskEncryptionInfo,
+ EnableProtectionProviderSpecificInput: EnableProtectionProviderSpecificInput,
+ A2AEnableProtectionInput: A2AEnableProtectionInput,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ A2AEventDetails: A2AEventDetails,
+ ProviderSpecificFailoverInput: ProviderSpecificFailoverInput,
+ A2AFailoverProviderInput: A2AFailoverProviderInput,
+ PolicyProviderSpecificInput: PolicyProviderSpecificInput,
+ A2APolicyCreationInput: A2APolicyCreationInput,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ VMNicDetails: VMNicDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ A2AReplicationDetails: A2AReplicationDetails,
+ ReverseReplicationProviderSpecificInput: ReverseReplicationProviderSpecificInput,
+ A2AReprotectInput: A2AReprotectInput,
+ SwitchProtectionProviderSpecificInput: SwitchProtectionProviderSpecificInput,
+ A2ASwitchProtectionInput: A2ASwitchProtectionInput,
+ ReplicationProviderSpecificUpdateContainerMappingInput: ReplicationProviderSpecificUpdateContainerMappingInput,
+ A2AUpdateContainerMappingInput: A2AUpdateContainerMappingInput,
+ A2AVmManagedDiskUpdateDetails: A2AVmManagedDiskUpdateDetails,
+ UpdateReplicationProtectedItemProviderInput: UpdateReplicationProtectedItemProviderInput,
+ A2AUpdateReplicationProtectedItemInput: A2AUpdateReplicationProtectedItemInput,
+ AddVCenterRequestProperties: AddVCenterRequestProperties,
+ AddVCenterRequest: AddVCenterRequest,
+ AlertProperties: AlertProperties,
+ Resource: Resource,
+ Alert: Alert,
+ ApplyRecoveryPointInputProperties: ApplyRecoveryPointInputProperties,
+ ApplyRecoveryPointInput: ApplyRecoveryPointInput,
+ JobDetails: JobDetails,
+ AsrJobDetails: AsrJobDetails,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobErrorDetails: JobErrorDetails,
+ ASRTask: ASRTask,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ FabricSpecificCreationInput: FabricSpecificCreationInput,
+ AzureFabricCreationInput: AzureFabricCreationInput,
+ FabricSpecificDetails: FabricSpecificDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ FabricSpecificCreateNetworkMappingInput: FabricSpecificCreateNetworkMappingInput,
+ AzureToAzureCreateNetworkMappingInput: AzureToAzureCreateNetworkMappingInput,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ FabricSpecificUpdateNetworkMappingInput: FabricSpecificUpdateNetworkMappingInput,
+ AzureToAzureUpdateNetworkMappingInput: AzureToAzureUpdateNetworkMappingInput,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ ComputeSizeErrorDetails: ComputeSizeErrorDetails,
+ ConfigurationSettings: ConfigurationSettings,
+ ConfigureAlertRequestProperties: ConfigureAlertRequestProperties,
+ ConfigureAlertRequest: ConfigureAlertRequest,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ CreateNetworkMappingInputProperties: CreateNetworkMappingInputProperties,
+ CreateNetworkMappingInput: CreateNetworkMappingInput,
+ CreatePolicyInputProperties: CreatePolicyInputProperties,
+ CreatePolicyInput: CreatePolicyInput,
+ CreateProtectionContainerInputProperties: CreateProtectionContainerInputProperties,
+ CreateProtectionContainerInput: CreateProtectionContainerInput,
+ CreateProtectionContainerMappingInputProperties: CreateProtectionContainerMappingInputProperties,
+ CreateProtectionContainerMappingInput: CreateProtectionContainerMappingInput,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ CreateRecoveryPlanInputProperties: CreateRecoveryPlanInputProperties,
+ CreateRecoveryPlanInput: CreateRecoveryPlanInput,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ DataStore: DataStore,
+ DisableProtectionProviderSpecificInput: DisableProtectionProviderSpecificInput,
+ DisableProtectionInputProperties: DisableProtectionInputProperties,
+ DisableProtectionInput: DisableProtectionInput,
+ DiscoverProtectableItemRequestProperties: DiscoverProtectableItemRequestProperties,
+ DiscoverProtectableItemRequest: DiscoverProtectableItemRequest,
+ DiskDetails: DiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ Display: Display,
+ EnableProtectionInputProperties: EnableProtectionInputProperties,
+ EnableProtectionInput: EnableProtectionInput,
+ EncryptionDetails: EncryptionDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ InnerHealthError: InnerHealthError,
+ HealthError: HealthError,
+ EventProperties: EventProperties,
+ Event: Event,
+ EventQueryParameter: EventQueryParameter,
+ ExportJobDetails: ExportJobDetails,
+ FabricProperties: FabricProperties,
+ Fabric: Fabric,
+ FabricCreationInputProperties: FabricCreationInputProperties,
+ FabricCreationInput: FabricCreationInput,
+ JobEntity: JobEntity,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ FailoverProcessServerRequestProperties: FailoverProcessServerRequestProperties,
+ FailoverProcessServerRequest: FailoverProcessServerRequest,
+ HealthErrorSummary: HealthErrorSummary,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureApplyRecoveryPointInput: HyperVReplicaAzureApplyRecoveryPointInput,
+ HyperVReplicaAzureEnableProtectionInput: HyperVReplicaAzureEnableProtectionInput,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaAzureFailbackProviderInput: HyperVReplicaAzureFailbackProviderInput,
+ HyperVReplicaAzureFailoverProviderInput: HyperVReplicaAzureFailoverProviderInput,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzurePolicyInput: HyperVReplicaAzurePolicyInput,
+ InitialReplicationDetails: InitialReplicationDetails,
+ OSDetails: OSDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ HyperVReplicaAzureReprotectInput: HyperVReplicaAzureReprotectInput,
+ HyperVReplicaAzureUpdateReplicationProtectedItemInput: HyperVReplicaAzureUpdateReplicationProtectedItemInput,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBluePolicyInput: HyperVReplicaBluePolicyInput,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaPolicyInput: HyperVReplicaPolicyInput,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ IdentityInformation: IdentityInformation,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAgentDetails: InMageAgentDetails,
+ InMageAgentVersionDetails: InMageAgentVersionDetails,
+ InMageAzureV2ApplyRecoveryPointInput: InMageAzureV2ApplyRecoveryPointInput,
+ InMageAzureV2EnableProtectionInput: InMageAzureV2EnableProtectionInput,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ InMageAzureV2FailoverProviderInput: InMageAzureV2FailoverProviderInput,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2PolicyInput: InMageAzureV2PolicyInput,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ReprotectInput: InMageAzureV2ReprotectInput,
+ InMageAzureV2UpdateReplicationProtectedItemInput: InMageAzureV2UpdateReplicationProtectedItemInput,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMageDisableProtectionProviderSpecificInput: InMageDisableProtectionProviderSpecificInput,
+ InMageDiskDetails: InMageDiskDetails,
+ InMageVolumeExclusionOptions: InMageVolumeExclusionOptions,
+ InMageDiskSignatureExclusionOptions: InMageDiskSignatureExclusionOptions,
+ InMageDiskExclusionInput: InMageDiskExclusionInput,
+ InMageEnableProtectionInput: InMageEnableProtectionInput,
+ InMageFailoverProviderInput: InMageFailoverProviderInput,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMagePolicyInput: InMagePolicyInput,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ InMageReprotectInput: InMageReprotectInput,
+ JobProperties: JobProperties,
+ Job: Job,
+ JobQueryParameter: JobQueryParameter,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ LogicalNetwork: LogicalNetwork,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ RetentionVolume: RetentionVolume,
+ VersionDetails: VersionDetails,
+ MasterTargetServer: MasterTargetServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ Subnet: Subnet,
+ NetworkProperties: NetworkProperties,
+ Network: Network,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMapping: NetworkMapping,
+ OperationsDiscovery: OperationsDiscovery,
+ PlannedFailoverInputProperties: PlannedFailoverInputProperties,
+ PlannedFailoverInput: PlannedFailoverInput,
+ PolicyProperties: PolicyProperties,
+ Policy: Policy,
+ ProcessServer: ProcessServer,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemQueryParameter: ProtectableItemQueryParameter,
+ ProtectedItemsQueryParameter: ProtectedItemsQueryParameter,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProviderSpecificFailoverInput: RecoveryPlanProviderSpecificFailoverInput,
+ RecoveryPlanA2AFailoverInput: RecoveryPlanA2AFailoverInput,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanHyperVReplicaAzureFailbackInput: RecoveryPlanHyperVReplicaAzureFailbackInput,
+ RecoveryPlanHyperVReplicaAzureFailoverInput: RecoveryPlanHyperVReplicaAzureFailoverInput,
+ RecoveryPlanInMageAzureV2FailoverInput: RecoveryPlanInMageAzureV2FailoverInput,
+ RecoveryPlanInMageFailoverInput: RecoveryPlanInMageFailoverInput,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanPlannedFailoverInputProperties: RecoveryPlanPlannedFailoverInputProperties,
+ RecoveryPlanPlannedFailoverInput: RecoveryPlanPlannedFailoverInput,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPlanTestFailoverCleanupInputProperties: RecoveryPlanTestFailoverCleanupInputProperties,
+ RecoveryPlanTestFailoverCleanupInput: RecoveryPlanTestFailoverCleanupInput,
+ RecoveryPlanTestFailoverInputProperties: RecoveryPlanTestFailoverInputProperties,
+ RecoveryPlanTestFailoverInput: RecoveryPlanTestFailoverInput,
+ RecoveryPlanUnplannedFailoverInputProperties: RecoveryPlanUnplannedFailoverInputProperties,
+ RecoveryPlanUnplannedFailoverInput: RecoveryPlanUnplannedFailoverInput,
+ RecoveryPointProperties: RecoveryPointProperties,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ ReplicationProviderContainerUnmappingInput: ReplicationProviderContainerUnmappingInput,
+ RemoveProtectionContainerMappingInputProperties: RemoveProtectionContainerMappingInputProperties,
+ RemoveProtectionContainerMappingInput: RemoveProtectionContainerMappingInput,
+ RenewCertificateInputProperties: RenewCertificateInputProperties,
+ RenewCertificateInput: RenewCertificateInput,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ResourceHealthSummary: ResourceHealthSummary,
+ ResumeJobParamsProperties: ResumeJobParamsProperties,
+ ResumeJobParams: ResumeJobParams,
+ ReverseReplicationInputProperties: ReverseReplicationInputProperties,
+ ReverseReplicationInput: ReverseReplicationInput,
+ RunAsAccount: RunAsAccount,
+ SanEnableProtectionInput: SanEnableProtectionInput,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassification: StorageClassification,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageMappingInputProperties: StorageMappingInputProperties,
+ StorageClassificationMappingInput: StorageClassificationMappingInput,
+ SwitchProtectionInputProperties: SwitchProtectionInputProperties,
+ SwitchProtectionInput: SwitchProtectionInput,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TargetComputeSizeProperties: TargetComputeSizeProperties,
+ TargetComputeSize: TargetComputeSize,
+ TestFailoverCleanupInputProperties: TestFailoverCleanupInputProperties,
+ TestFailoverCleanupInput: TestFailoverCleanupInput,
+ TestFailoverInputProperties: TestFailoverInputProperties,
+ TestFailoverInput: TestFailoverInput,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ UnplannedFailoverInputProperties: UnplannedFailoverInputProperties,
+ UnplannedFailoverInput: UnplannedFailoverInput,
+ UpdateMobilityServiceRequestProperties: UpdateMobilityServiceRequestProperties,
+ UpdateMobilityServiceRequest: UpdateMobilityServiceRequest,
+ UpdateNetworkMappingInputProperties: UpdateNetworkMappingInputProperties,
+ UpdateNetworkMappingInput: UpdateNetworkMappingInput,
+ UpdatePolicyInputProperties: UpdatePolicyInputProperties,
+ UpdatePolicyInput: UpdatePolicyInput,
+ UpdateProtectionContainerMappingInputProperties: UpdateProtectionContainerMappingInputProperties,
+ UpdateProtectionContainerMappingInput: UpdateProtectionContainerMappingInput,
+ UpdateRecoveryPlanInputProperties: UpdateRecoveryPlanInputProperties,
+ UpdateRecoveryPlanInput: UpdateRecoveryPlanInput,
+ VMNicInputDetails: VMNicInputDetails,
+ UpdateReplicationProtectedItemInputProperties: UpdateReplicationProtectedItemInputProperties,
+ UpdateReplicationProtectedItemInput: UpdateReplicationProtectedItemInput,
+ UpdateVCenterRequestProperties: UpdateVCenterRequestProperties,
+ UpdateVCenterRequest: UpdateVCenterRequest,
+ VaultHealthProperties: VaultHealthProperties,
+ VaultHealthDetails: VaultHealthDetails,
+ VCenterProperties: VCenterProperties,
+ VCenter: VCenter,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureCreateNetworkMappingInput: VmmToAzureCreateNetworkMappingInput,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToAzureUpdateNetworkMappingInput: VmmToAzureUpdateNetworkMappingInput,
+ VmmToVmmCreateNetworkMappingInput: VmmToVmmCreateNetworkMappingInput,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmToVmmUpdateNetworkMappingInput: VmmToVmmUpdateNetworkMappingInput,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VMwareCbtPolicyCreationInput: VMwareCbtPolicyCreationInput,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ VMwareV2FabricCreationInput: VMwareV2FabricCreationInput,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ OperationsDiscoveryCollection: OperationsDiscoveryCollection,
+ AlertCollection: AlertCollection,
+ EventCollection: EventCollection,
+ FabricCollection: FabricCollection,
+ LogicalNetworkCollection: LogicalNetworkCollection,
+ NetworkCollection: NetworkCollection,
+ NetworkMappingCollection: NetworkMappingCollection,
+ ProtectionContainerCollection: ProtectionContainerCollection,
+ ProtectableItemCollection: ProtectableItemCollection,
+ ReplicationProtectedItemCollection: ReplicationProtectedItemCollection,
+ RecoveryPointCollection: RecoveryPointCollection,
+ TargetComputeSizeCollection: TargetComputeSizeCollection,
+ ProtectionContainerMappingCollection: ProtectionContainerMappingCollection,
+ RecoveryServicesProviderCollection: RecoveryServicesProviderCollection,
+ StorageClassificationCollection: StorageClassificationCollection,
+ StorageClassificationMappingCollection: StorageClassificationMappingCollection,
+ VCenterCollection: VCenterCollection,
+ JobCollection: JobCollection,
+ PolicyCollection: PolicyCollection,
+ RecoveryPlanCollection: RecoveryPlanCollection,
+ discriminators: discriminators
+ });
+
+ /*
+ * 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.
+ */
+
+ var Mappers = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ OperationsDiscoveryCollection: OperationsDiscoveryCollection,
+ OperationsDiscovery: OperationsDiscovery,
+ Display: Display,
+ CloudError: CloudError
+ });
+
+ /*
+ * 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.
+ */
+ var acceptLanguage = {
+ parameterPath: "acceptLanguage",
+ mapper: {
+ serializedName: "accept-language",
+ defaultValue: 'en-US',
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var alertSettingName = {
+ parameterPath: "alertSettingName",
+ mapper: {
+ required: true,
+ serializedName: "alertSettingName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var apiVersion = {
+ parameterPath: "apiVersion",
+ mapper: {
+ required: true,
+ serializedName: "api-version",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var eventName = {
+ parameterPath: "eventName",
+ mapper: {
+ required: true,
+ serializedName: "eventName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var fabricName = {
+ parameterPath: "fabricName",
+ mapper: {
+ required: true,
+ serializedName: "fabricName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var filter = {
+ parameterPath: [
+ "options",
+ "filter"
+ ],
+ mapper: {
+ serializedName: "$filter",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var jobName = {
+ parameterPath: "jobName",
+ mapper: {
+ required: true,
+ serializedName: "jobName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var logicalNetworkName = {
+ parameterPath: "logicalNetworkName",
+ mapper: {
+ required: true,
+ serializedName: "logicalNetworkName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var mappingName = {
+ parameterPath: "mappingName",
+ mapper: {
+ required: true,
+ serializedName: "mappingName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var networkMappingName = {
+ parameterPath: "networkMappingName",
+ mapper: {
+ required: true,
+ serializedName: "networkMappingName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var networkName = {
+ parameterPath: "networkName",
+ mapper: {
+ required: true,
+ serializedName: "networkName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var nextPageLink = {
+ parameterPath: "nextPageLink",
+ mapper: {
+ required: true,
+ serializedName: "nextLink",
+ type: {
+ name: "String"
+ }
+ },
+ skipEncoding: true
+ };
+ var policyName = {
+ parameterPath: "policyName",
+ mapper: {
+ required: true,
+ serializedName: "policyName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var protectableItemName = {
+ parameterPath: "protectableItemName",
+ mapper: {
+ required: true,
+ serializedName: "protectableItemName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var protectionContainerName = {
+ parameterPath: "protectionContainerName",
+ mapper: {
+ required: true,
+ serializedName: "protectionContainerName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var providerName = {
+ parameterPath: "providerName",
+ mapper: {
+ required: true,
+ serializedName: "providerName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var recoveryPlanName = {
+ parameterPath: "recoveryPlanName",
+ mapper: {
+ required: true,
+ serializedName: "recoveryPlanName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var recoveryPointName = {
+ parameterPath: "recoveryPointName",
+ mapper: {
+ required: true,
+ serializedName: "recoveryPointName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var replicatedProtectedItemName = {
+ parameterPath: "replicatedProtectedItemName",
+ mapper: {
+ required: true,
+ serializedName: "replicatedProtectedItemName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var replicationProtectedItemName = {
+ parameterPath: "replicationProtectedItemName",
+ mapper: {
+ required: true,
+ serializedName: "replicationProtectedItemName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var resourceGroupName = {
+ parameterPath: "resourceGroupName",
+ mapper: {
+ required: true,
+ serializedName: "resourceGroupName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var resourceName = {
+ parameterPath: "resourceName",
+ mapper: {
+ required: true,
+ serializedName: "resourceName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var skipToken = {
+ parameterPath: [
+ "options",
+ "skipToken"
+ ],
+ mapper: {
+ serializedName: "skipToken",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var storageClassificationMappingName = {
+ parameterPath: "storageClassificationMappingName",
+ mapper: {
+ required: true,
+ serializedName: "storageClassificationMappingName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var storageClassificationName = {
+ parameterPath: "storageClassificationName",
+ mapper: {
+ required: true,
+ serializedName: "storageClassificationName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var subscriptionId = {
+ parameterPath: "subscriptionId",
+ mapper: {
+ required: true,
+ serializedName: "subscriptionId",
+ type: {
+ name: "String"
+ }
+ }
+ };
+ var vCenterName = {
+ parameterPath: "vCenterName",
+ mapper: {
+ required: true,
+ serializedName: "vCenterName",
+ type: {
+ name: "String"
+ }
+ }
+ };
+
+ /*
+ * 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.
+ */
+ /** Class representing a Operations. */
+ var Operations = /** @class */ (function () {
+ /**
+ * Create a Operations.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function Operations(client) {
+ this.client = client;
+ }
+ Operations.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec, callback);
+ };
+ Operations.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec, callback);
+ };
+ return Operations;
+ }());
+ // Operation Specifications
+ var serializer = new msRest.Serializer(Mappers);
+ var listOperationSpec = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations",
+ urlParameters: [
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: OperationsDiscoveryCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer
+ };
+ var listNextOperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: OperationsDiscoveryCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$1 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ AlertCollection: AlertCollection,
+ Alert: Alert,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ AlertProperties: AlertProperties,
+ CloudError: CloudError,
+ ConfigureAlertRequest: ConfigureAlertRequest,
+ ConfigureAlertRequestProperties: ConfigureAlertRequestProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationAlertSettings. */
+ var ReplicationAlertSettings = /** @class */ (function () {
+ /**
+ * Create a ReplicationAlertSettings.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationAlertSettings(client) {
+ this.client = client;
+ }
+ ReplicationAlertSettings.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$1, callback);
+ };
+ ReplicationAlertSettings.prototype.get = function (alertSettingName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ alertSettingName: alertSettingName$$1,
+ options: options
+ }, getOperationSpec, callback);
+ };
+ ReplicationAlertSettings.prototype.create = function (alertSettingName$$1, request, options, callback) {
+ return this.client.sendOperationRequest({
+ alertSettingName: alertSettingName$$1,
+ request: request,
+ options: options
+ }, createOperationSpec, callback);
+ };
+ ReplicationAlertSettings.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$1, callback);
+ };
+ return ReplicationAlertSettings;
+ }());
+ // Operation Specifications
+ var serializer$1 = new msRest.Serializer(Mappers$1);
+ var listOperationSpec$1 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: AlertCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$1
+ };
+ var getOperationSpec = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ alertSettingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Alert
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$1
+ };
+ var createOperationSpec = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ alertSettingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "request",
+ mapper: __assign({}, ConfigureAlertRequest, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Alert
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$1
+ };
+ var listNextOperationSpec$1 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: AlertCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$1
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$2 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ EventCollection: EventCollection,
+ Event: Event,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ CloudError: CloudError,
+ A2AEventDetails: A2AEventDetails,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationEvents. */
+ var ReplicationEvents = /** @class */ (function () {
+ /**
+ * Create a ReplicationEvents.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationEvents(client) {
+ this.client = client;
+ }
+ ReplicationEvents.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$2, callback);
+ };
+ ReplicationEvents.prototype.get = function (eventName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ eventName: eventName$$1,
+ options: options
+ }, getOperationSpec$1, callback);
+ };
+ ReplicationEvents.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$2, callback);
+ };
+ return ReplicationEvents;
+ }());
+ // Operation Specifications
+ var serializer$2 = new msRest.Serializer(Mappers$2);
+ var listOperationSpec$2 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion,
+ filter
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: EventCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$2
+ };
+ var getOperationSpec$1 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ eventName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Event
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$2
+ };
+ var listNextOperationSpec$2 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: EventCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$2
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$3 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ FabricCollection: FabricCollection,
+ Fabric: Fabric,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ CloudError: CloudError,
+ FabricCreationInput: FabricCreationInput,
+ FabricCreationInputProperties: FabricCreationInputProperties,
+ FabricSpecificCreationInput: FabricSpecificCreationInput,
+ FailoverProcessServerRequest: FailoverProcessServerRequest,
+ FailoverProcessServerRequestProperties: FailoverProcessServerRequestProperties,
+ RenewCertificateInput: RenewCertificateInput,
+ RenewCertificateInputProperties: RenewCertificateInputProperties,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ AzureFabricCreationInput: AzureFabricCreationInput,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricCreationInput: VMwareV2FabricCreationInput,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationFabrics. */
+ var ReplicationFabrics = /** @class */ (function () {
+ /**
+ * Create a ReplicationFabrics.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationFabrics(client) {
+ this.client = client;
+ }
+ ReplicationFabrics.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$3, callback);
+ };
+ ReplicationFabrics.prototype.get = function (fabricName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, getOperationSpec$2, callback);
+ };
+ /**
+ * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site)
+ * @summary Creates an Azure Site Recovery fabric.
+ * @param fabricName Name of the ASR fabric.
+ * @param input Fabric creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.create = function (fabricName$$1, input, options) {
+ return this.beginCreate(fabricName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to purge(force delete) an Azure Site Recovery fabric.
+ * @summary Purges the site.
+ * @param fabricName ASR fabric to purge.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.purge = function (fabricName$$1, options) {
+ return this.beginPurge(fabricName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to perform a consistency check on the fabric.
+ * @summary Checks the consistency of the ASR fabric.
+ * @param fabricName Fabric name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.checkConsistency = function (fabricName$$1, options) {
+ return this.beginCheckConsistency(fabricName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to migrate an Azure Site Recovery fabric to AAD.
+ * @summary Migrates the site to AAD.
+ * @param fabricName ASR fabric to migrate.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.migrateToAad = function (fabricName$$1, options) {
+ return this.beginMigrateToAad(fabricName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to move replications from a process server to another process server.
+ * @summary Perform failover of the process server.
+ * @param fabricName The name of the fabric containing the process server.
+ * @param failoverProcessServerRequest The input to the failover process server operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.reassociateGateway = function (fabricName$$1, failoverProcessServerRequest, options) {
+ return this.beginReassociateGateway(fabricName$$1, failoverProcessServerRequest, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to delete or remove an Azure Site Recovery fabric.
+ * @summary Deletes the site.
+ * @param fabricName ASR fabric to delete
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.deleteMethod = function (fabricName$$1, options) {
+ return this.beginDeleteMethod(fabricName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Renews the connection certificate for the ASR replication fabric.
+ * @summary Renews certificate for the fabric.
+ * @param fabricName fabric name to renew certs for.
+ * @param renewCertificateParameter Renew certificate input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.renewCertificate = function (fabricName$$1, renewCertificateParameter, options) {
+ return this.beginRenewCertificate(fabricName$$1, renewCertificateParameter, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site)
+ * @summary Creates an Azure Site Recovery fabric.
+ * @param fabricName Name of the ASR fabric.
+ * @param input Fabric creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.beginCreate = function (fabricName$$1, input, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ input: input,
+ options: options
+ }, beginCreateOperationSpec, options);
+ };
+ /**
+ * The operation to purge(force delete) an Azure Site Recovery fabric.
+ * @summary Purges the site.
+ * @param fabricName ASR fabric to purge.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.beginPurge = function (fabricName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, beginPurgeOperationSpec, options);
+ };
+ /**
+ * The operation to perform a consistency check on the fabric.
+ * @summary Checks the consistency of the ASR fabric.
+ * @param fabricName Fabric name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.beginCheckConsistency = function (fabricName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, beginCheckConsistencyOperationSpec, options);
+ };
+ /**
+ * The operation to migrate an Azure Site Recovery fabric to AAD.
+ * @summary Migrates the site to AAD.
+ * @param fabricName ASR fabric to migrate.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.beginMigrateToAad = function (fabricName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, beginMigrateToAadOperationSpec, options);
+ };
+ /**
+ * The operation to move replications from a process server to another process server.
+ * @summary Perform failover of the process server.
+ * @param fabricName The name of the fabric containing the process server.
+ * @param failoverProcessServerRequest The input to the failover process server operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.beginReassociateGateway = function (fabricName$$1, failoverProcessServerRequest, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ failoverProcessServerRequest: failoverProcessServerRequest,
+ options: options
+ }, beginReassociateGatewayOperationSpec, options);
+ };
+ /**
+ * The operation to delete or remove an Azure Site Recovery fabric.
+ * @summary Deletes the site.
+ * @param fabricName ASR fabric to delete
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.beginDeleteMethod = function (fabricName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec, options);
+ };
+ /**
+ * Renews the connection certificate for the ASR replication fabric.
+ * @summary Renews certificate for the fabric.
+ * @param fabricName fabric name to renew certs for.
+ * @param renewCertificateParameter Renew certificate input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationFabrics.prototype.beginRenewCertificate = function (fabricName$$1, renewCertificateParameter, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ renewCertificateParameter: renewCertificateParameter,
+ options: options
+ }, beginRenewCertificateOperationSpec, options);
+ };
+ ReplicationFabrics.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$3, callback);
+ };
+ return ReplicationFabrics;
+ }());
+ // Operation Specifications
+ var serializer$3 = new msRest.Serializer(Mappers$3);
+ var listOperationSpec$3 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: FabricCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var getOperationSpec$2 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Fabric
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var beginCreateOperationSpec = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, FabricCreationInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Fabric
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var beginPurgeOperationSpec = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var beginCheckConsistencyOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Fabric
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var beginMigrateToAadOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var beginReassociateGatewayOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "failoverProcessServerRequest",
+ mapper: __assign({}, FailoverProcessServerRequest, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Fabric
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var beginDeleteMethodOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var beginRenewCertificateOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "renewCertificateParameter",
+ mapper: __assign({}, RenewCertificateInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Fabric
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+ var listNextOperationSpec$3 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: FabricCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$3
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$4 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ LogicalNetworkCollection: LogicalNetworkCollection,
+ LogicalNetwork: LogicalNetwork,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ CloudError: CloudError,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationLogicalNetworks. */
+ var ReplicationLogicalNetworks = /** @class */ (function () {
+ /**
+ * Create a ReplicationLogicalNetworks.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationLogicalNetworks(client) {
+ this.client = client;
+ }
+ ReplicationLogicalNetworks.prototype.listByReplicationFabrics = function (fabricName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, listByReplicationFabricsOperationSpec, callback);
+ };
+ ReplicationLogicalNetworks.prototype.get = function (fabricName$$1, logicalNetworkName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ logicalNetworkName: logicalNetworkName$$1,
+ options: options
+ }, getOperationSpec$3, callback);
+ };
+ ReplicationLogicalNetworks.prototype.listByReplicationFabricsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationFabricsNextOperationSpec, callback);
+ };
+ return ReplicationLogicalNetworks;
+ }());
+ // Operation Specifications
+ var serializer$4 = new msRest.Serializer(Mappers$4);
+ var listByReplicationFabricsOperationSpec = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: LogicalNetworkCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$4
+ };
+ var getOperationSpec$3 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks/{logicalNetworkName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ logicalNetworkName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: LogicalNetwork
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$4
+ };
+ var listByReplicationFabricsNextOperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: LogicalNetworkCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$4
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$5 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ NetworkCollection: NetworkCollection,
+ Network: Network,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ CloudError: CloudError,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationNetworks. */
+ var ReplicationNetworks = /** @class */ (function () {
+ /**
+ * Create a ReplicationNetworks.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationNetworks(client) {
+ this.client = client;
+ }
+ ReplicationNetworks.prototype.listByReplicationFabrics = function (fabricName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, listByReplicationFabricsOperationSpec$1, callback);
+ };
+ ReplicationNetworks.prototype.get = function (fabricName$$1, networkName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ networkName: networkName$$1,
+ options: options
+ }, getOperationSpec$4, callback);
+ };
+ ReplicationNetworks.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$4, callback);
+ };
+ ReplicationNetworks.prototype.listByReplicationFabricsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationFabricsNextOperationSpec$1, callback);
+ };
+ ReplicationNetworks.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$4, callback);
+ };
+ return ReplicationNetworks;
+ }());
+ // Operation Specifications
+ var serializer$5 = new msRest.Serializer(Mappers$5);
+ var listByReplicationFabricsOperationSpec$1 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$5
+ };
+ var getOperationSpec$4 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ networkName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Network
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$5
+ };
+ var listOperationSpec$4 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworks",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$5
+ };
+ var listByReplicationFabricsNextOperationSpec$1 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$5
+ };
+ var listNextOperationSpec$4 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$5
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$6 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ NetworkMappingCollection: NetworkMappingCollection,
+ NetworkMapping: NetworkMapping,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ CloudError: CloudError,
+ CreateNetworkMappingInput: CreateNetworkMappingInput,
+ CreateNetworkMappingInputProperties: CreateNetworkMappingInputProperties,
+ FabricSpecificCreateNetworkMappingInput: FabricSpecificCreateNetworkMappingInput,
+ UpdateNetworkMappingInput: UpdateNetworkMappingInput,
+ UpdateNetworkMappingInputProperties: UpdateNetworkMappingInputProperties,
+ FabricSpecificUpdateNetworkMappingInput: FabricSpecificUpdateNetworkMappingInput,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ AzureToAzureCreateNetworkMappingInput: AzureToAzureCreateNetworkMappingInput,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ AzureToAzureUpdateNetworkMappingInput: AzureToAzureUpdateNetworkMappingInput,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureCreateNetworkMappingInput: VmmToAzureCreateNetworkMappingInput,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToAzureUpdateNetworkMappingInput: VmmToAzureUpdateNetworkMappingInput,
+ VmmToVmmCreateNetworkMappingInput: VmmToVmmCreateNetworkMappingInput,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmToVmmUpdateNetworkMappingInput: VmmToVmmUpdateNetworkMappingInput,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationNetworkMappings. */
+ var ReplicationNetworkMappings = /** @class */ (function () {
+ /**
+ * Create a ReplicationNetworkMappings.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationNetworkMappings(client) {
+ this.client = client;
+ }
+ ReplicationNetworkMappings.prototype.listByReplicationNetworks = function (fabricName$$1, networkName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ networkName: networkName$$1,
+ options: options
+ }, listByReplicationNetworksOperationSpec, callback);
+ };
+ ReplicationNetworkMappings.prototype.get = function (fabricName$$1, networkName$$1, networkMappingName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ networkName: networkName$$1,
+ networkMappingName: networkMappingName$$1,
+ options: options
+ }, getOperationSpec$5, callback);
+ };
+ /**
+ * The operation to create an ASR network mapping.
+ * @summary Creates network mapping.
+ * @param fabricName Primary fabric name.
+ * @param networkName Primary network name.
+ * @param networkMappingName Network mapping name.
+ * @param input Create network mapping input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationNetworkMappings.prototype.create = function (fabricName$$1, networkName$$1, networkMappingName$$1, input, options) {
+ return this.beginCreate(fabricName$$1, networkName$$1, networkMappingName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to delete a network mapping.
+ * @summary Delete network mapping.
+ * @param fabricName Primary fabric name.
+ * @param networkName Primary network name.
+ * @param networkMappingName ARM Resource Name for network mapping.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationNetworkMappings.prototype.deleteMethod = function (fabricName$$1, networkName$$1, networkMappingName$$1, options) {
+ return this.beginDeleteMethod(fabricName$$1, networkName$$1, networkMappingName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to update an ASR network mapping.
+ * @summary Updates network mapping.
+ * @param fabricName Primary fabric name.
+ * @param networkName Primary network name.
+ * @param networkMappingName Network mapping name.
+ * @param input Update network mapping input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationNetworkMappings.prototype.update = function (fabricName$$1, networkName$$1, networkMappingName$$1, input, options) {
+ return this.beginUpdate(fabricName$$1, networkName$$1, networkMappingName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ ReplicationNetworkMappings.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$5, callback);
+ };
+ /**
+ * The operation to create an ASR network mapping.
+ * @summary Creates network mapping.
+ * @param fabricName Primary fabric name.
+ * @param networkName Primary network name.
+ * @param networkMappingName Network mapping name.
+ * @param input Create network mapping input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationNetworkMappings.prototype.beginCreate = function (fabricName$$1, networkName$$1, networkMappingName$$1, input, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ networkName: networkName$$1,
+ networkMappingName: networkMappingName$$1,
+ input: input,
+ options: options
+ }, beginCreateOperationSpec$1, options);
+ };
+ /**
+ * The operation to delete a network mapping.
+ * @summary Delete network mapping.
+ * @param fabricName Primary fabric name.
+ * @param networkName Primary network name.
+ * @param networkMappingName ARM Resource Name for network mapping.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationNetworkMappings.prototype.beginDeleteMethod = function (fabricName$$1, networkName$$1, networkMappingName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ networkName: networkName$$1,
+ networkMappingName: networkMappingName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec$1, options);
+ };
+ /**
+ * The operation to update an ASR network mapping.
+ * @summary Updates network mapping.
+ * @param fabricName Primary fabric name.
+ * @param networkName Primary network name.
+ * @param networkMappingName Network mapping name.
+ * @param input Update network mapping input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationNetworkMappings.prototype.beginUpdate = function (fabricName$$1, networkName$$1, networkMappingName$$1, input, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ networkName: networkName$$1,
+ networkMappingName: networkMappingName$$1,
+ input: input,
+ options: options
+ }, beginUpdateOperationSpec, options);
+ };
+ ReplicationNetworkMappings.prototype.listByReplicationNetworksNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationNetworksNextOperationSpec, callback);
+ };
+ ReplicationNetworkMappings.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$5, callback);
+ };
+ return ReplicationNetworkMappings;
+ }());
+ // Operation Specifications
+ var serializer$6 = new msRest.Serializer(Mappers$6);
+ var listByReplicationNetworksOperationSpec = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ networkName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+ var getOperationSpec$5 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ networkName,
+ networkMappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkMapping
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+ var listOperationSpec$5 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworkMappings",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+ var beginCreateOperationSpec$1 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ networkName,
+ networkMappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, CreateNetworkMappingInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: NetworkMapping
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+ var beginDeleteMethodOperationSpec$1 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ networkName,
+ networkMappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+ var beginUpdateOperationSpec = {
+ httpMethod: "PATCH",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ networkName,
+ networkMappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, UpdateNetworkMappingInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: NetworkMapping
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+ var listByReplicationNetworksNextOperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+ var listNextOperationSpec$5 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: NetworkMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$6
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$7 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ ProtectionContainerCollection: ProtectionContainerCollection,
+ ProtectionContainer: ProtectionContainer,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ CloudError: CloudError,
+ CreateProtectionContainerInput: CreateProtectionContainerInput,
+ CreateProtectionContainerInputProperties: CreateProtectionContainerInputProperties,
+ ReplicationProviderSpecificContainerCreationInput: ReplicationProviderSpecificContainerCreationInput,
+ DiscoverProtectableItemRequest: DiscoverProtectableItemRequest,
+ DiscoverProtectableItemRequestProperties: DiscoverProtectableItemRequestProperties,
+ SwitchProtectionInput: SwitchProtectionInput,
+ SwitchProtectionInputProperties: SwitchProtectionInputProperties,
+ SwitchProtectionProviderSpecificInput: SwitchProtectionProviderSpecificInput,
+ A2AContainerCreationInput: A2AContainerCreationInput,
+ A2ASwitchProtectionInput: A2ASwitchProtectionInput,
+ A2AVmDiskInputDetails: A2AVmDiskInputDetails,
+ A2AVmManagedDiskInputDetails: A2AVmManagedDiskInputDetails,
+ DiskEncryptionInfo: DiskEncryptionInfo,
+ DiskEncryptionKeyInfo: DiskEncryptionKeyInfo,
+ KeyEncryptionKeyInfo: KeyEncryptionKeyInfo,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationProtectionContainers. */
+ var ReplicationProtectionContainers = /** @class */ (function () {
+ /**
+ * Create a ReplicationProtectionContainers.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationProtectionContainers(client) {
+ this.client = client;
+ }
+ ReplicationProtectionContainers.prototype.listByReplicationFabrics = function (fabricName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, listByReplicationFabricsOperationSpec$2, callback);
+ };
+ ReplicationProtectionContainers.prototype.get = function (fabricName$$1, protectionContainerName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ options: options
+ }, getOperationSpec$6, callback);
+ };
+ /**
+ * Operation to create a protection container.
+ * @summary Create a protection container.
+ * @param fabricName Unique fabric ARM name.
+ * @param protectionContainerName Unique protection container ARM name.
+ * @param creationInput Creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.create = function (fabricName$$1, protectionContainerName$$1, creationInput, options) {
+ return this.beginCreate(fabricName$$1, protectionContainerName$$1, creationInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to a add a protectable item to a protection container(Add physical server.)
+ * @summary Adds a protectable item to the replication protection container.
+ * @param fabricName The name of the fabric.
+ * @param protectionContainerName The name of the protection container.
+ * @param discoverProtectableItemRequest The request object to add a protectable item.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.discoverProtectableItem = function (fabricName$$1, protectionContainerName$$1, discoverProtectableItemRequest, options) {
+ return this.beginDiscoverProtectableItem(fabricName$$1, protectionContainerName$$1, discoverProtectableItemRequest, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to remove a protection container.
+ * @summary Removes a protection container.
+ * @param fabricName Unique fabric ARM name.
+ * @param protectionContainerName Unique protection container ARM name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.deleteMethod = function (fabricName$$1, protectionContainerName$$1, options) {
+ return this.beginDeleteMethod(fabricName$$1, protectionContainerName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to switch protection from one container to another or one replication provider to
+ * another.
+ * @summary Switches protection from one container to another or one replication provider to
+ * another.
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param switchInput Switch protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.switchProtection = function (fabricName$$1, protectionContainerName$$1, switchInput, options) {
+ return this.beginSwitchProtection(fabricName$$1, protectionContainerName$$1, switchInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ ReplicationProtectionContainers.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$6, callback);
+ };
+ /**
+ * Operation to create a protection container.
+ * @summary Create a protection container.
+ * @param fabricName Unique fabric ARM name.
+ * @param protectionContainerName Unique protection container ARM name.
+ * @param creationInput Creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.beginCreate = function (fabricName$$1, protectionContainerName$$1, creationInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ creationInput: creationInput,
+ options: options
+ }, beginCreateOperationSpec$2, options);
+ };
+ /**
+ * The operation to a add a protectable item to a protection container(Add physical server.)
+ * @summary Adds a protectable item to the replication protection container.
+ * @param fabricName The name of the fabric.
+ * @param protectionContainerName The name of the protection container.
+ * @param discoverProtectableItemRequest The request object to add a protectable item.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.beginDiscoverProtectableItem = function (fabricName$$1, protectionContainerName$$1, discoverProtectableItemRequest, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ discoverProtectableItemRequest: discoverProtectableItemRequest,
+ options: options
+ }, beginDiscoverProtectableItemOperationSpec, options);
+ };
+ /**
+ * Operation to remove a protection container.
+ * @summary Removes a protection container.
+ * @param fabricName Unique fabric ARM name.
+ * @param protectionContainerName Unique protection container ARM name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.beginDeleteMethod = function (fabricName$$1, protectionContainerName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec$2, options);
+ };
+ /**
+ * Operation to switch protection from one container to another or one replication provider to
+ * another.
+ * @summary Switches protection from one container to another or one replication provider to
+ * another.
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param switchInput Switch protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainers.prototype.beginSwitchProtection = function (fabricName$$1, protectionContainerName$$1, switchInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ switchInput: switchInput,
+ options: options
+ }, beginSwitchProtectionOperationSpec, options);
+ };
+ ReplicationProtectionContainers.prototype.listByReplicationFabricsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationFabricsNextOperationSpec$2, callback);
+ };
+ ReplicationProtectionContainers.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$6, callback);
+ };
+ return ReplicationProtectionContainers;
+ }());
+ // Operation Specifications
+ var serializer$7 = new msRest.Serializer(Mappers$7);
+ var listByReplicationFabricsOperationSpec$2 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var getOperationSpec$6 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainer
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var listOperationSpec$6 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var beginCreateOperationSpec$2 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "creationInput",
+ mapper: __assign({}, CreateProtectionContainerInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainer
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var beginDiscoverProtectableItemOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "discoverProtectableItemRequest",
+ mapper: __assign({}, DiscoverProtectableItemRequest, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainer
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var beginDeleteMethodOperationSpec$2 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var beginSwitchProtectionOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "switchInput",
+ mapper: __assign({}, SwitchProtectionInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainer
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var listByReplicationFabricsNextOperationSpec$2 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+ var listNextOperationSpec$6 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$7
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$8 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ ProtectableItemCollection: ProtectableItemCollection,
+ ProtectableItem: ProtectableItem,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ CloudError: CloudError,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationProtectableItems. */
+ var ReplicationProtectableItems = /** @class */ (function () {
+ /**
+ * Create a ReplicationProtectableItems.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationProtectableItems(client) {
+ this.client = client;
+ }
+ ReplicationProtectableItems.prototype.listByReplicationProtectionContainers = function (fabricName$$1, protectionContainerName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ options: options
+ }, listByReplicationProtectionContainersOperationSpec, callback);
+ };
+ ReplicationProtectableItems.prototype.get = function (fabricName$$1, protectionContainerName$$1, protectableItemName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ protectableItemName: protectableItemName$$1,
+ options: options
+ }, getOperationSpec$7, callback);
+ };
+ ReplicationProtectableItems.prototype.listByReplicationProtectionContainersNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationProtectionContainersNextOperationSpec, callback);
+ };
+ return ReplicationProtectableItems;
+ }());
+ // Operation Specifications
+ var serializer$8 = new msRest.Serializer(Mappers$8);
+ var listByReplicationProtectionContainersOperationSpec = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion,
+ filter
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectableItemCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$8
+ };
+ var getOperationSpec$7 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ protectableItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectableItem
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$8
+ };
+ var listByReplicationProtectionContainersNextOperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectableItemCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$8
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$9 = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ ReplicationProtectedItemCollection: ReplicationProtectedItemCollection,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ CloudError: CloudError,
+ EnableProtectionInput: EnableProtectionInput,
+ EnableProtectionInputProperties: EnableProtectionInputProperties,
+ EnableProtectionProviderSpecificInput: EnableProtectionProviderSpecificInput,
+ UpdateReplicationProtectedItemInput: UpdateReplicationProtectedItemInput,
+ UpdateReplicationProtectedItemInputProperties: UpdateReplicationProtectedItemInputProperties,
+ VMNicInputDetails: VMNicInputDetails,
+ UpdateReplicationProtectedItemProviderInput: UpdateReplicationProtectedItemProviderInput,
+ ApplyRecoveryPointInput: ApplyRecoveryPointInput,
+ ApplyRecoveryPointInputProperties: ApplyRecoveryPointInputProperties,
+ ApplyRecoveryPointProviderSpecificInput: ApplyRecoveryPointProviderSpecificInput,
+ PlannedFailoverInput: PlannedFailoverInput,
+ PlannedFailoverInputProperties: PlannedFailoverInputProperties,
+ ProviderSpecificFailoverInput: ProviderSpecificFailoverInput,
+ DisableProtectionInput: DisableProtectionInput,
+ DisableProtectionInputProperties: DisableProtectionInputProperties,
+ DisableProtectionProviderSpecificInput: DisableProtectionProviderSpecificInput,
+ ReverseReplicationInput: ReverseReplicationInput,
+ ReverseReplicationInputProperties: ReverseReplicationInputProperties,
+ ReverseReplicationProviderSpecificInput: ReverseReplicationProviderSpecificInput,
+ TestFailoverInput: TestFailoverInput,
+ TestFailoverInputProperties: TestFailoverInputProperties,
+ TestFailoverCleanupInput: TestFailoverCleanupInput,
+ TestFailoverCleanupInputProperties: TestFailoverCleanupInputProperties,
+ UnplannedFailoverInput: UnplannedFailoverInput,
+ UnplannedFailoverInputProperties: UnplannedFailoverInputProperties,
+ UpdateMobilityServiceRequest: UpdateMobilityServiceRequest,
+ UpdateMobilityServiceRequestProperties: UpdateMobilityServiceRequestProperties,
+ A2AApplyRecoveryPointInput: A2AApplyRecoveryPointInput,
+ A2AEnableProtectionInput: A2AEnableProtectionInput,
+ A2AVmDiskInputDetails: A2AVmDiskInputDetails,
+ A2AVmManagedDiskInputDetails: A2AVmManagedDiskInputDetails,
+ DiskEncryptionInfo: DiskEncryptionInfo,
+ DiskEncryptionKeyInfo: DiskEncryptionKeyInfo,
+ KeyEncryptionKeyInfo: KeyEncryptionKeyInfo,
+ A2AFailoverProviderInput: A2AFailoverProviderInput,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ A2AReprotectInput: A2AReprotectInput,
+ A2AUpdateReplicationProtectedItemInput: A2AUpdateReplicationProtectedItemInput,
+ A2AVmManagedDiskUpdateDetails: A2AVmManagedDiskUpdateDetails,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureApplyRecoveryPointInput: HyperVReplicaAzureApplyRecoveryPointInput,
+ HyperVReplicaAzureEnableProtectionInput: HyperVReplicaAzureEnableProtectionInput,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaAzureFailbackProviderInput: HyperVReplicaAzureFailbackProviderInput,
+ HyperVReplicaAzureFailoverProviderInput: HyperVReplicaAzureFailoverProviderInput,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ OSDetails: OSDetails,
+ HyperVReplicaAzureReprotectInput: HyperVReplicaAzureReprotectInput,
+ HyperVReplicaAzureUpdateReplicationProtectedItemInput: HyperVReplicaAzureUpdateReplicationProtectedItemInput,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ DiskDetails: DiskDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2ApplyRecoveryPointInput: InMageAzureV2ApplyRecoveryPointInput,
+ InMageAzureV2EnableProtectionInput: InMageAzureV2EnableProtectionInput,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ InMageAzureV2FailoverProviderInput: InMageAzureV2FailoverProviderInput,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageAzureV2ReprotectInput: InMageAzureV2ReprotectInput,
+ InMageAzureV2UpdateReplicationProtectedItemInput: InMageAzureV2UpdateReplicationProtectedItemInput,
+ InMageDisableProtectionProviderSpecificInput: InMageDisableProtectionProviderSpecificInput,
+ InMageEnableProtectionInput: InMageEnableProtectionInput,
+ InMageDiskExclusionInput: InMageDiskExclusionInput,
+ InMageVolumeExclusionOptions: InMageVolumeExclusionOptions,
+ InMageDiskSignatureExclusionOptions: InMageDiskSignatureExclusionOptions,
+ InMageFailoverProviderInput: InMageFailoverProviderInput,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails,
+ InMageReprotectInput: InMageReprotectInput,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ SanEnableProtectionInput: SanEnableProtectionInput,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationProtectedItems. */
+ var ReplicationProtectedItems = /** @class */ (function () {
+ /**
+ * Create a ReplicationProtectedItems.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationProtectedItems(client) {
+ this.client = client;
+ }
+ ReplicationProtectedItems.prototype.listByReplicationProtectionContainers = function (fabricName$$1, protectionContainerName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ options: options
+ }, listByReplicationProtectionContainersOperationSpec$1, callback);
+ };
+ ReplicationProtectedItems.prototype.get = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ options: options
+ }, getOperationSpec$8, callback);
+ };
+ /**
+ * The operation to create an ASR replication protected item (Enable replication).
+ * @summary Enables protection.
+ * @param fabricName Name of the fabric.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName A name for the replication protected item.
+ * @param input Enable Protection Input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.create = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, input, options) {
+ return this.beginCreate(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to delete or purge a replication protected item. This operation will force delete
+ * the replication protected item. Use the remove operation on replication protected item to
+ * perform a clean disable replication for the item.
+ * @summary Purges protection.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.purge = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options) {
+ return this.beginPurge(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to update the recovery settings of an ASR replication protected item.
+ * @summary Updates protection.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param updateProtectionInput Update protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.update = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, updateProtectionInput, options) {
+ return this.beginUpdate(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, updateProtectionInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to change the recovery point of a failed over replication protected item.
+ * @summary Change or apply recovery point.
+ * @param fabricName The ARM fabric name.
+ * @param protectionContainerName The protection container name.
+ * @param replicatedProtectedItemName The replicated protected item's name.
+ * @param applyRecoveryPointInput The ApplyRecoveryPointInput.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.applyRecoveryPoint = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, applyRecoveryPointInput, options) {
+ return this.beginApplyRecoveryPoint(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, applyRecoveryPointInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to commit the failover of the replication protected item.
+ * @summary Execute commit failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.failoverCommit = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options) {
+ return this.beginFailoverCommit(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to initiate a planned failover of the replication protected item.
+ * @summary Execute planned failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param failoverInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.plannedFailover = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options) {
+ return this.beginPlannedFailover(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to disable replication on a replication protected item. This will also remove the
+ * item.
+ * @summary Disables protection.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param disableProtectionInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.deleteMethod = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, disableProtectionInput, options) {
+ return this.beginDeleteMethod(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, disableProtectionInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to start resynchronize/repair replication for a replication protected item
+ * requiring resynchronization.
+ * @summary Resynchronize or repair replication.
+ * @param fabricName The name of the fabric.
+ * @param protectionContainerName The name of the container.
+ * @param replicatedProtectedItemName The name of the replication protected item.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.repairReplication = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options) {
+ return this.beginRepairReplication(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to reprotect or reverse replicate a failed over replication protected item.
+ * @summary Execute Reverse Replication\Reprotect
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param rrInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.reprotect = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, rrInput, options) {
+ return this.beginReprotect(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, rrInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to perform a test failover of the replication protected item.
+ * @summary Execute test failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param failoverInput Test failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.testFailover = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options) {
+ return this.beginTestFailover(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to clean up the test failover of a replication protected item.
+ * @summary Execute test failover cleanup.
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param cleanupInput Test failover cleanup input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.testFailoverCleanup = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, cleanupInput, options) {
+ return this.beginTestFailoverCleanup(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, cleanupInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Operation to initiate a failover of the replication protected item.
+ * @summary Execute unplanned failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param failoverInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.unplannedFailover = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options) {
+ return this.beginUnplannedFailover(fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to update(push update) the installed mobility service software on a replication
+ * protected item to the latest available version.
+ * @summary Update the mobility service on a protected item.
+ * @param fabricName The name of the fabric containing the protected item.
+ * @param protectionContainerName The name of the container containing the protected item.
+ * @param replicationProtectedItemName The name of the protected item on which the agent is to be
+ * updated.
+ * @param updateMobilityServiceRequest Request to update the mobility service on the protected
+ * item.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.updateMobilityService = function (fabricName$$1, protectionContainerName$$1, replicationProtectedItemName$$1, updateMobilityServiceRequest, options) {
+ return this.beginUpdateMobilityService(fabricName$$1, protectionContainerName$$1, replicationProtectedItemName$$1, updateMobilityServiceRequest, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ ReplicationProtectedItems.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$7, callback);
+ };
+ /**
+ * The operation to create an ASR replication protected item (Enable replication).
+ * @summary Enables protection.
+ * @param fabricName Name of the fabric.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName A name for the replication protected item.
+ * @param input Enable Protection Input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginCreate = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, input, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ input: input,
+ options: options
+ }, beginCreateOperationSpec$3, options);
+ };
+ /**
+ * The operation to delete or purge a replication protected item. This operation will force delete
+ * the replication protected item. Use the remove operation on replication protected item to
+ * perform a clean disable replication for the item.
+ * @summary Purges protection.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginPurge = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ options: options
+ }, beginPurgeOperationSpec$1, options);
+ };
+ /**
+ * The operation to update the recovery settings of an ASR replication protected item.
+ * @summary Updates protection.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param updateProtectionInput Update protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginUpdate = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, updateProtectionInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ updateProtectionInput: updateProtectionInput,
+ options: options
+ }, beginUpdateOperationSpec$1, options);
+ };
+ /**
+ * The operation to change the recovery point of a failed over replication protected item.
+ * @summary Change or apply recovery point.
+ * @param fabricName The ARM fabric name.
+ * @param protectionContainerName The protection container name.
+ * @param replicatedProtectedItemName The replicated protected item's name.
+ * @param applyRecoveryPointInput The ApplyRecoveryPointInput.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginApplyRecoveryPoint = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, applyRecoveryPointInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ applyRecoveryPointInput: applyRecoveryPointInput,
+ options: options
+ }, beginApplyRecoveryPointOperationSpec, options);
+ };
+ /**
+ * Operation to commit the failover of the replication protected item.
+ * @summary Execute commit failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginFailoverCommit = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ options: options
+ }, beginFailoverCommitOperationSpec, options);
+ };
+ /**
+ * Operation to initiate a planned failover of the replication protected item.
+ * @summary Execute planned failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param failoverInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginPlannedFailover = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ failoverInput: failoverInput,
+ options: options
+ }, beginPlannedFailoverOperationSpec, options);
+ };
+ /**
+ * The operation to disable replication on a replication protected item. This will also remove the
+ * item.
+ * @summary Disables protection.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param disableProtectionInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginDeleteMethod = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, disableProtectionInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ disableProtectionInput: disableProtectionInput,
+ options: options
+ }, beginDeleteMethodOperationSpec$3, options);
+ };
+ /**
+ * The operation to start resynchronize/repair replication for a replication protected item
+ * requiring resynchronization.
+ * @summary Resynchronize or repair replication.
+ * @param fabricName The name of the fabric.
+ * @param protectionContainerName The name of the container.
+ * @param replicatedProtectedItemName The name of the replication protected item.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginRepairReplication = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ options: options
+ }, beginRepairReplicationOperationSpec, options);
+ };
+ /**
+ * Operation to reprotect or reverse replicate a failed over replication protected item.
+ * @summary Execute Reverse Replication\Reprotect
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param rrInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginReprotect = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, rrInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ rrInput: rrInput,
+ options: options
+ }, beginReprotectOperationSpec, options);
+ };
+ /**
+ * Operation to perform a test failover of the replication protected item.
+ * @summary Execute test failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param failoverInput Test failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginTestFailover = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ failoverInput: failoverInput,
+ options: options
+ }, beginTestFailoverOperationSpec, options);
+ };
+ /**
+ * Operation to clean up the test failover of a replication protected item.
+ * @summary Execute test failover cleanup.
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param cleanupInput Test failover cleanup input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginTestFailoverCleanup = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, cleanupInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ cleanupInput: cleanupInput,
+ options: options
+ }, beginTestFailoverCleanupOperationSpec, options);
+ };
+ /**
+ * Operation to initiate a failover of the replication protected item.
+ * @summary Execute unplanned failover
+ * @param fabricName Unique fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param replicatedProtectedItemName Replication protected item name.
+ * @param failoverInput Disable protection input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginUnplannedFailover = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, failoverInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ failoverInput: failoverInput,
+ options: options
+ }, beginUnplannedFailoverOperationSpec, options);
+ };
+ /**
+ * The operation to update(push update) the installed mobility service software on a replication
+ * protected item to the latest available version.
+ * @summary Update the mobility service on a protected item.
+ * @param fabricName The name of the fabric containing the protected item.
+ * @param protectionContainerName The name of the container containing the protected item.
+ * @param replicationProtectedItemName The name of the protected item on which the agent is to be
+ * updated.
+ * @param updateMobilityServiceRequest Request to update the mobility service on the protected
+ * item.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectedItems.prototype.beginUpdateMobilityService = function (fabricName$$1, protectionContainerName$$1, replicationProtectedItemName$$1, updateMobilityServiceRequest, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicationProtectedItemName: replicationProtectedItemName$$1,
+ updateMobilityServiceRequest: updateMobilityServiceRequest,
+ options: options
+ }, beginUpdateMobilityServiceOperationSpec, options);
+ };
+ ReplicationProtectedItems.prototype.listByReplicationProtectionContainersNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationProtectionContainersNextOperationSpec$1, callback);
+ };
+ ReplicationProtectedItems.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$7, callback);
+ };
+ return ReplicationProtectedItems;
+ }());
+ // Operation Specifications
+ var serializer$9 = new msRest.Serializer(Mappers$9);
+ var listByReplicationProtectionContainersOperationSpec$1 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItemCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var getOperationSpec$8 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var listOperationSpec$7 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion,
+ skipToken,
+ filter
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItemCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginCreateOperationSpec$3 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, EnableProtectionInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginPurgeOperationSpec$1 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginUpdateOperationSpec$1 = {
+ httpMethod: "PATCH",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "updateProtectionInput",
+ mapper: __assign({}, UpdateReplicationProtectedItemInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginApplyRecoveryPointOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "applyRecoveryPointInput",
+ mapper: __assign({}, ApplyRecoveryPointInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginFailoverCommitOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginPlannedFailoverOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "failoverInput",
+ mapper: __assign({}, PlannedFailoverInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginDeleteMethodOperationSpec$3 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "disableProtectionInput",
+ mapper: __assign({}, DisableProtectionInput, { required: true })
+ },
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginRepairReplicationOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginReprotectOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "rrInput",
+ mapper: __assign({}, ReverseReplicationInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginTestFailoverOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "failoverInput",
+ mapper: __assign({}, TestFailoverInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginTestFailoverCleanupOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "cleanupInput",
+ mapper: __assign({}, TestFailoverCleanupInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginUnplannedFailoverOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "failoverInput",
+ mapper: __assign({}, UnplannedFailoverInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var beginUpdateMobilityServiceOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicationProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "updateMobilityServiceRequest",
+ mapper: __assign({}, UpdateMobilityServiceRequest, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItem
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var listByReplicationProtectionContainersNextOperationSpec$1 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItemCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+ var listNextOperationSpec$7 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ReplicationProtectedItemCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$9
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$a = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ RecoveryPointCollection: RecoveryPointCollection,
+ RecoveryPoint: RecoveryPoint,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ CloudError: CloudError,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a RecoveryPoints. */
+ var RecoveryPoints = /** @class */ (function () {
+ /**
+ * Create a RecoveryPoints.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function RecoveryPoints(client) {
+ this.client = client;
+ }
+ RecoveryPoints.prototype.listByReplicationProtectedItems = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ options: options
+ }, listByReplicationProtectedItemsOperationSpec, callback);
+ };
+ RecoveryPoints.prototype.get = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, recoveryPointName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ recoveryPointName: recoveryPointName$$1,
+ options: options
+ }, getOperationSpec$9, callback);
+ };
+ RecoveryPoints.prototype.listByReplicationProtectedItemsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationProtectedItemsNextOperationSpec, callback);
+ };
+ return RecoveryPoints;
+ }());
+ // Operation Specifications
+ var serializer$a = new msRest.Serializer(Mappers$a);
+ var listByReplicationProtectedItemsOperationSpec = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPointCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$a
+ };
+ var getOperationSpec$9 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName,
+ recoveryPointName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPoint
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$a
+ };
+ var listByReplicationProtectedItemsNextOperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPointCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$a
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$b = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ TargetComputeSizeCollection: TargetComputeSizeCollection,
+ TargetComputeSize: TargetComputeSize,
+ TargetComputeSizeProperties: TargetComputeSizeProperties,
+ ComputeSizeErrorDetails: ComputeSizeErrorDetails,
+ CloudError: CloudError
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a TargetComputeSizes. */
+ var TargetComputeSizes = /** @class */ (function () {
+ /**
+ * Create a TargetComputeSizes.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function TargetComputeSizes(client) {
+ this.client = client;
+ }
+ TargetComputeSizes.prototype.listByReplicationProtectedItems = function (fabricName$$1, protectionContainerName$$1, replicatedProtectedItemName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ replicatedProtectedItemName: replicatedProtectedItemName$$1,
+ options: options
+ }, listByReplicationProtectedItemsOperationSpec$1, callback);
+ };
+ TargetComputeSizes.prototype.listByReplicationProtectedItemsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationProtectedItemsNextOperationSpec$1, callback);
+ };
+ return TargetComputeSizes;
+ }());
+ // Operation Specifications
+ var serializer$b = new msRest.Serializer(Mappers$b);
+ var listByReplicationProtectedItemsOperationSpec$1 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ replicatedProtectedItemName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: TargetComputeSizeCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$b
+ };
+ var listByReplicationProtectedItemsNextOperationSpec$1 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: TargetComputeSizeCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$b
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$c = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ ProtectionContainerMappingCollection: ProtectionContainerMappingCollection,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ CloudError: CloudError,
+ CreateProtectionContainerMappingInput: CreateProtectionContainerMappingInput,
+ CreateProtectionContainerMappingInputProperties: CreateProtectionContainerMappingInputProperties,
+ ReplicationProviderSpecificContainerMappingInput: ReplicationProviderSpecificContainerMappingInput,
+ UpdateProtectionContainerMappingInput: UpdateProtectionContainerMappingInput,
+ UpdateProtectionContainerMappingInputProperties: UpdateProtectionContainerMappingInputProperties,
+ ReplicationProviderSpecificUpdateContainerMappingInput: ReplicationProviderSpecificUpdateContainerMappingInput,
+ RemoveProtectionContainerMappingInput: RemoveProtectionContainerMappingInput,
+ RemoveProtectionContainerMappingInputProperties: RemoveProtectionContainerMappingInputProperties,
+ ReplicationProviderContainerUnmappingInput: ReplicationProviderContainerUnmappingInput,
+ A2AContainerMappingInput: A2AContainerMappingInput,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2AUpdateContainerMappingInput: A2AUpdateContainerMappingInput,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationProtectionContainerMappings. */
+ var ReplicationProtectionContainerMappings = /** @class */ (function () {
+ /**
+ * Create a ReplicationProtectionContainerMappings.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationProtectionContainerMappings(client) {
+ this.client = client;
+ }
+ ReplicationProtectionContainerMappings.prototype.listByReplicationProtectionContainers = function (fabricName$$1, protectionContainerName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ options: options
+ }, listByReplicationProtectionContainersOperationSpec$2, callback);
+ };
+ ReplicationProtectionContainerMappings.prototype.get = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ mappingName: mappingName$$1,
+ options: options
+ }, getOperationSpec$a, callback);
+ };
+ /**
+ * The operation to create a protection container mapping.
+ * @summary Create protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param creationInput Mapping creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.create = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, creationInput, options) {
+ return this.beginCreate(fabricName$$1, protectionContainerName$$1, mappingName$$1, creationInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to purge(force delete) a protection container mapping
+ * @summary Purge protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.purge = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, options) {
+ return this.beginPurge(fabricName$$1, protectionContainerName$$1, mappingName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to update protection container mapping.
+ * @summary Update protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param updateInput Mapping update input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.update = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, updateInput, options) {
+ return this.beginUpdate(fabricName$$1, protectionContainerName$$1, mappingName$$1, updateInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to delete or remove a protection container mapping.
+ * @summary Remove protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param removalInput Removal input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.deleteMethod = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, removalInput, options) {
+ return this.beginDeleteMethod(fabricName$$1, protectionContainerName$$1, mappingName$$1, removalInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ ReplicationProtectionContainerMappings.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$8, callback);
+ };
+ /**
+ * The operation to create a protection container mapping.
+ * @summary Create protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param creationInput Mapping creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.beginCreate = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, creationInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ mappingName: mappingName$$1,
+ creationInput: creationInput,
+ options: options
+ }, beginCreateOperationSpec$4, options);
+ };
+ /**
+ * The operation to purge(force delete) a protection container mapping
+ * @summary Purge protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.beginPurge = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ mappingName: mappingName$$1,
+ options: options
+ }, beginPurgeOperationSpec$2, options);
+ };
+ /**
+ * The operation to update protection container mapping.
+ * @summary Update protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param updateInput Mapping update input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.beginUpdate = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, updateInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ mappingName: mappingName$$1,
+ updateInput: updateInput,
+ options: options
+ }, beginUpdateOperationSpec$2, options);
+ };
+ /**
+ * The operation to delete or remove a protection container mapping.
+ * @summary Remove protection container mapping.
+ * @param fabricName Fabric name.
+ * @param protectionContainerName Protection container name.
+ * @param mappingName Protection container mapping name.
+ * @param removalInput Removal input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationProtectionContainerMappings.prototype.beginDeleteMethod = function (fabricName$$1, protectionContainerName$$1, mappingName$$1, removalInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ protectionContainerName: protectionContainerName$$1,
+ mappingName: mappingName$$1,
+ removalInput: removalInput,
+ options: options
+ }, beginDeleteMethodOperationSpec$4, options);
+ };
+ ReplicationProtectionContainerMappings.prototype.listByReplicationProtectionContainersNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationProtectionContainersNextOperationSpec$2, callback);
+ };
+ ReplicationProtectionContainerMappings.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$8, callback);
+ };
+ return ReplicationProtectionContainerMappings;
+ }());
+ // Operation Specifications
+ var serializer$c = new msRest.Serializer(Mappers$c);
+ var listByReplicationProtectionContainersOperationSpec$2 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var getOperationSpec$a = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ mappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerMapping
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var listOperationSpec$8 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var beginCreateOperationSpec$4 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ mappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "creationInput",
+ mapper: __assign({}, CreateProtectionContainerMappingInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerMapping
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var beginPurgeOperationSpec$2 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ mappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var beginUpdateOperationSpec$2 = {
+ httpMethod: "PATCH",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ mappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "updateInput",
+ mapper: __assign({}, UpdateProtectionContainerMappingInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerMapping
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var beginDeleteMethodOperationSpec$4 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ protectionContainerName,
+ mappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "removalInput",
+ mapper: __assign({}, RemoveProtectionContainerMappingInput, { required: true })
+ },
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var listByReplicationProtectionContainersNextOperationSpec$2 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+ var listNextOperationSpec$8 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: ProtectionContainerMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$c
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$d = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ RecoveryServicesProviderCollection: RecoveryServicesProviderCollection,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ CloudError: CloudError,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationRecoveryServicesProviders. */
+ var ReplicationRecoveryServicesProviders = /** @class */ (function () {
+ /**
+ * Create a ReplicationRecoveryServicesProviders.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationRecoveryServicesProviders(client) {
+ this.client = client;
+ }
+ ReplicationRecoveryServicesProviders.prototype.listByReplicationFabrics = function (fabricName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, listByReplicationFabricsOperationSpec$3, callback);
+ };
+ ReplicationRecoveryServicesProviders.prototype.get = function (fabricName$$1, providerName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ providerName: providerName$$1,
+ options: options
+ }, getOperationSpec$b, callback);
+ };
+ /**
+ * The operation to purge(force delete) a recovery services provider from the vault.
+ * @summary Purges recovery service provider from fabric
+ * @param fabricName Fabric name.
+ * @param providerName Recovery services provider name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryServicesProviders.prototype.purge = function (fabricName$$1, providerName$$1, options) {
+ return this.beginPurge(fabricName$$1, providerName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to refresh the information from the recovery services provider.
+ * @summary Refresh details from the recovery services provider.
+ * @param fabricName Fabric name.
+ * @param providerName Recovery services provider name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryServicesProviders.prototype.refreshProvider = function (fabricName$$1, providerName$$1, options) {
+ return this.beginRefreshProvider(fabricName$$1, providerName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to removes/delete(unregister) a recovery services provider from the vault
+ * @summary Deletes provider from fabric. Note: Deleting provider for any fabric other than
+ * SingleHost is unsupported. To maintain backward compatibility for released clients the object
+ * "deleteRspInput" is used (if the object is empty we assume that it is old client and continue
+ * the old behavior).
+ * @param fabricName Fabric name.
+ * @param providerName Recovery services provider name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryServicesProviders.prototype.deleteMethod = function (fabricName$$1, providerName$$1, options) {
+ return this.beginDeleteMethod(fabricName$$1, providerName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ ReplicationRecoveryServicesProviders.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$9, callback);
+ };
+ /**
+ * The operation to purge(force delete) a recovery services provider from the vault.
+ * @summary Purges recovery service provider from fabric
+ * @param fabricName Fabric name.
+ * @param providerName Recovery services provider name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryServicesProviders.prototype.beginPurge = function (fabricName$$1, providerName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ providerName: providerName$$1,
+ options: options
+ }, beginPurgeOperationSpec$3, options);
+ };
+ /**
+ * The operation to refresh the information from the recovery services provider.
+ * @summary Refresh details from the recovery services provider.
+ * @param fabricName Fabric name.
+ * @param providerName Recovery services provider name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryServicesProviders.prototype.beginRefreshProvider = function (fabricName$$1, providerName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ providerName: providerName$$1,
+ options: options
+ }, beginRefreshProviderOperationSpec, options);
+ };
+ /**
+ * The operation to removes/delete(unregister) a recovery services provider from the vault
+ * @summary Deletes provider from fabric. Note: Deleting provider for any fabric other than
+ * SingleHost is unsupported. To maintain backward compatibility for released clients the object
+ * "deleteRspInput" is used (if the object is empty we assume that it is old client and continue
+ * the old behavior).
+ * @param fabricName Fabric name.
+ * @param providerName Recovery services provider name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryServicesProviders.prototype.beginDeleteMethod = function (fabricName$$1, providerName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ providerName: providerName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec$5, options);
+ };
+ ReplicationRecoveryServicesProviders.prototype.listByReplicationFabricsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationFabricsNextOperationSpec$3, callback);
+ };
+ ReplicationRecoveryServicesProviders.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$9, callback);
+ };
+ return ReplicationRecoveryServicesProviders;
+ }());
+ // Operation Specifications
+ var serializer$d = new msRest.Serializer(Mappers$d);
+ var listByReplicationFabricsOperationSpec$3 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryServicesProviderCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+ var getOperationSpec$b = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ providerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryServicesProvider
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+ var listOperationSpec$9 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryServicesProviderCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+ var beginPurgeOperationSpec$3 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ providerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+ var beginRefreshProviderOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ providerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryServicesProvider
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+ var beginDeleteMethodOperationSpec$5 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ providerName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+ var listByReplicationFabricsNextOperationSpec$3 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryServicesProviderCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+ var listNextOperationSpec$9 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryServicesProviderCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$d
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$e = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ StorageClassificationCollection: StorageClassificationCollection,
+ StorageClassification: StorageClassification,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ StorageClassificationProperties: StorageClassificationProperties,
+ CloudError: CloudError,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationStorageClassifications. */
+ var ReplicationStorageClassifications = /** @class */ (function () {
+ /**
+ * Create a ReplicationStorageClassifications.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationStorageClassifications(client) {
+ this.client = client;
+ }
+ ReplicationStorageClassifications.prototype.listByReplicationFabrics = function (fabricName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, listByReplicationFabricsOperationSpec$4, callback);
+ };
+ ReplicationStorageClassifications.prototype.get = function (fabricName$$1, storageClassificationName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ storageClassificationName: storageClassificationName$$1,
+ options: options
+ }, getOperationSpec$c, callback);
+ };
+ ReplicationStorageClassifications.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$a, callback);
+ };
+ ReplicationStorageClassifications.prototype.listByReplicationFabricsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationFabricsNextOperationSpec$4, callback);
+ };
+ ReplicationStorageClassifications.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$a, callback);
+ };
+ return ReplicationStorageClassifications;
+ }());
+ // Operation Specifications
+ var serializer$e = new msRest.Serializer(Mappers$e);
+ var listByReplicationFabricsOperationSpec$4 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$e
+ };
+ var getOperationSpec$c = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ storageClassificationName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassification
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$e
+ };
+ var listOperationSpec$a = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassifications",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$e
+ };
+ var listByReplicationFabricsNextOperationSpec$4 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$e
+ };
+ var listNextOperationSpec$a = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$e
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$f = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ StorageClassificationMappingCollection: StorageClassificationMappingCollection,
+ StorageClassificationMapping: StorageClassificationMapping,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ CloudError: CloudError,
+ StorageClassificationMappingInput: StorageClassificationMappingInput,
+ StorageMappingInputProperties: StorageMappingInputProperties,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationStorageClassificationMappings. */
+ var ReplicationStorageClassificationMappings = /** @class */ (function () {
+ /**
+ * Create a ReplicationStorageClassificationMappings.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationStorageClassificationMappings(client) {
+ this.client = client;
+ }
+ ReplicationStorageClassificationMappings.prototype.listByReplicationStorageClassifications = function (fabricName$$1, storageClassificationName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ storageClassificationName: storageClassificationName$$1,
+ options: options
+ }, listByReplicationStorageClassificationsOperationSpec, callback);
+ };
+ ReplicationStorageClassificationMappings.prototype.get = function (fabricName$$1, storageClassificationName$$1, storageClassificationMappingName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ storageClassificationName: storageClassificationName$$1,
+ storageClassificationMappingName: storageClassificationMappingName$$1,
+ options: options
+ }, getOperationSpec$d, callback);
+ };
+ /**
+ * The operation to create a storage classification mapping.
+ * @summary Create storage classification mapping.
+ * @param fabricName Fabric name.
+ * @param storageClassificationName Storage classification name.
+ * @param storageClassificationMappingName Storage classification mapping name.
+ * @param pairingInput Pairing input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationStorageClassificationMappings.prototype.create = function (fabricName$$1, storageClassificationName$$1, storageClassificationMappingName$$1, pairingInput, options) {
+ return this.beginCreate(fabricName$$1, storageClassificationName$$1, storageClassificationMappingName$$1, pairingInput, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to delete a storage classification mapping.
+ * @summary Delete a storage classification mapping.
+ * @param fabricName Fabric name.
+ * @param storageClassificationName Storage classification name.
+ * @param storageClassificationMappingName Storage classification mapping name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationStorageClassificationMappings.prototype.deleteMethod = function (fabricName$$1, storageClassificationName$$1, storageClassificationMappingName$$1, options) {
+ return this.beginDeleteMethod(fabricName$$1, storageClassificationName$$1, storageClassificationMappingName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ ReplicationStorageClassificationMappings.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$b, callback);
+ };
+ /**
+ * The operation to create a storage classification mapping.
+ * @summary Create storage classification mapping.
+ * @param fabricName Fabric name.
+ * @param storageClassificationName Storage classification name.
+ * @param storageClassificationMappingName Storage classification mapping name.
+ * @param pairingInput Pairing input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationStorageClassificationMappings.prototype.beginCreate = function (fabricName$$1, storageClassificationName$$1, storageClassificationMappingName$$1, pairingInput, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ storageClassificationName: storageClassificationName$$1,
+ storageClassificationMappingName: storageClassificationMappingName$$1,
+ pairingInput: pairingInput,
+ options: options
+ }, beginCreateOperationSpec$5, options);
+ };
+ /**
+ * The operation to delete a storage classification mapping.
+ * @summary Delete a storage classification mapping.
+ * @param fabricName Fabric name.
+ * @param storageClassificationName Storage classification name.
+ * @param storageClassificationMappingName Storage classification mapping name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationStorageClassificationMappings.prototype.beginDeleteMethod = function (fabricName$$1, storageClassificationName$$1, storageClassificationMappingName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ storageClassificationName: storageClassificationName$$1,
+ storageClassificationMappingName: storageClassificationMappingName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec$6, options);
+ };
+ ReplicationStorageClassificationMappings.prototype.listByReplicationStorageClassificationsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationStorageClassificationsNextOperationSpec, callback);
+ };
+ ReplicationStorageClassificationMappings.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$b, callback);
+ };
+ return ReplicationStorageClassificationMappings;
+ }());
+ // Operation Specifications
+ var serializer$f = new msRest.Serializer(Mappers$f);
+ var listByReplicationStorageClassificationsOperationSpec = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ storageClassificationName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$f
+ };
+ var getOperationSpec$d = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ storageClassificationName,
+ storageClassificationMappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationMapping
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$f
+ };
+ var listOperationSpec$b = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassificationMappings",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$f
+ };
+ var beginCreateOperationSpec$5 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ storageClassificationName,
+ storageClassificationMappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "pairingInput",
+ mapper: __assign({}, StorageClassificationMappingInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationMapping
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$f
+ };
+ var beginDeleteMethodOperationSpec$6 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ storageClassificationName,
+ storageClassificationMappingName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$f
+ };
+ var listByReplicationStorageClassificationsNextOperationSpec = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$f
+ };
+ var listNextOperationSpec$b = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: StorageClassificationMappingCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$f
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$g = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ VCenterCollection: VCenterCollection,
+ VCenter: VCenter,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ VCenterProperties: VCenterProperties,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ CloudError: CloudError,
+ AddVCenterRequest: AddVCenterRequest,
+ AddVCenterRequestProperties: AddVCenterRequestProperties,
+ UpdateVCenterRequest: UpdateVCenterRequest,
+ UpdateVCenterRequestProperties: UpdateVCenterRequestProperties,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationvCenters. */
+ var ReplicationvCenters = /** @class */ (function () {
+ /**
+ * Create a ReplicationvCenters.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationvCenters(client) {
+ this.client = client;
+ }
+ ReplicationvCenters.prototype.listByReplicationFabrics = function (fabricName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ options: options
+ }, listByReplicationFabricsOperationSpec$5, callback);
+ };
+ ReplicationvCenters.prototype.get = function (fabricName$$1, vCenterName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ fabricName: fabricName$$1,
+ vCenterName: vCenterName$$1,
+ options: options
+ }, getOperationSpec$e, callback);
+ };
+ /**
+ * The operation to create a vCenter object..
+ * @summary Add vCenter.
+ * @param fabricName Fabric name.
+ * @param vCenterName vCenter name.
+ * @param addVCenterRequest The input to the add vCenter operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationvCenters.prototype.create = function (fabricName$$1, vCenterName$$1, addVCenterRequest, options) {
+ return this.beginCreate(fabricName$$1, vCenterName$$1, addVCenterRequest, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to remove(unregister) a registered vCenter server from the vault.
+ * @summary Remove vCenter operation.
+ * @param fabricName Fabric name.
+ * @param vCenterName vCenter name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationvCenters.prototype.deleteMethod = function (fabricName$$1, vCenterName$$1, options) {
+ return this.beginDeleteMethod(fabricName$$1, vCenterName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to update a registered vCenter.
+ * @summary Update vCenter operation.
+ * @param fabricName Fabric name.
+ * @param vCenterName vCeneter name
+ * @param updateVCenterRequest The input to the update vCenter operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationvCenters.prototype.update = function (fabricName$$1, vCenterName$$1, updateVCenterRequest, options) {
+ return this.beginUpdate(fabricName$$1, vCenterName$$1, updateVCenterRequest, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ ReplicationvCenters.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$c, callback);
+ };
+ /**
+ * The operation to create a vCenter object..
+ * @summary Add vCenter.
+ * @param fabricName Fabric name.
+ * @param vCenterName vCenter name.
+ * @param addVCenterRequest The input to the add vCenter operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationvCenters.prototype.beginCreate = function (fabricName$$1, vCenterName$$1, addVCenterRequest, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ vCenterName: vCenterName$$1,
+ addVCenterRequest: addVCenterRequest,
+ options: options
+ }, beginCreateOperationSpec$6, options);
+ };
+ /**
+ * The operation to remove(unregister) a registered vCenter server from the vault.
+ * @summary Remove vCenter operation.
+ * @param fabricName Fabric name.
+ * @param vCenterName vCenter name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationvCenters.prototype.beginDeleteMethod = function (fabricName$$1, vCenterName$$1, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ vCenterName: vCenterName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec$7, options);
+ };
+ /**
+ * The operation to update a registered vCenter.
+ * @summary Update vCenter operation.
+ * @param fabricName Fabric name.
+ * @param vCenterName vCeneter name
+ * @param updateVCenterRequest The input to the update vCenter operation.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationvCenters.prototype.beginUpdate = function (fabricName$$1, vCenterName$$1, updateVCenterRequest, options) {
+ return this.client.sendLRORequest({
+ fabricName: fabricName$$1,
+ vCenterName: vCenterName$$1,
+ updateVCenterRequest: updateVCenterRequest,
+ options: options
+ }, beginUpdateOperationSpec$3, options);
+ };
+ ReplicationvCenters.prototype.listByReplicationFabricsNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listByReplicationFabricsNextOperationSpec$5, callback);
+ };
+ ReplicationvCenters.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$c, callback);
+ };
+ return ReplicationvCenters;
+ }());
+ // Operation Specifications
+ var serializer$g = new msRest.Serializer(Mappers$g);
+ var listByReplicationFabricsOperationSpec$5 = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: VCenterCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+ var getOperationSpec$e = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ vCenterName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: VCenter
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+ var listOperationSpec$c = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationvCenters",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: VCenterCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+ var beginCreateOperationSpec$6 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ vCenterName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "addVCenterRequest",
+ mapper: __assign({}, AddVCenterRequest, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: VCenter
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+ var beginDeleteMethodOperationSpec$7 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ vCenterName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+ var beginUpdateOperationSpec$3 = {
+ httpMethod: "PATCH",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ fabricName,
+ vCenterName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "updateVCenterRequest",
+ mapper: __assign({}, UpdateVCenterRequest, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: VCenter
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+ var listByReplicationFabricsNextOperationSpec$5 = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: VCenterCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+ var listNextOperationSpec$c = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: VCenterCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$g
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$h = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ JobCollection: JobCollection,
+ Job: Job,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ CloudError: CloudError,
+ ResumeJobParams: ResumeJobParams,
+ ResumeJobParamsProperties: ResumeJobParamsProperties,
+ JobQueryParameter: JobQueryParameter,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ ExportJobDetails: ExportJobDetails,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ JobEntity: JobEntity,
+ FailoverJobDetails: FailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationJobs. */
+ var ReplicationJobs = /** @class */ (function () {
+ /**
+ * Create a ReplicationJobs.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationJobs(client) {
+ this.client = client;
+ }
+ ReplicationJobs.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$d, callback);
+ };
+ ReplicationJobs.prototype.get = function (jobName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ jobName: jobName$$1,
+ options: options
+ }, getOperationSpec$f, callback);
+ };
+ /**
+ * The operation to cancel an Azure Site Recovery job.
+ * @summary Cancels the specified job.
+ * @param jobName Job indentifier.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.cancel = function (jobName$$1, options) {
+ return this.beginCancel(jobName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to restart an Azure Site Recovery job.
+ * @summary Restarts the specified job.
+ * @param jobName Job identifier.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.restart = function (jobName$$1, options) {
+ return this.beginRestart(jobName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to resume an Azure Site Recovery job
+ * @summary Resumes the specified job.
+ * @param jobName Job identifier.
+ * @param resumeJobParams Resume rob comments.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.resume = function (jobName$$1, resumeJobParams, options) {
+ return this.beginResume(jobName$$1, resumeJobParams, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to export the details of the Azure Site Recovery jobs of the vault.
+ * @summary Exports the details of the Azure Site Recovery jobs of the vault.
+ * @param jobQueryParameter job query filter.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.exportMethod = function (jobQueryParameter, options) {
+ return this.beginExportMethod(jobQueryParameter, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to cancel an Azure Site Recovery job.
+ * @summary Cancels the specified job.
+ * @param jobName Job indentifier.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.beginCancel = function (jobName$$1, options) {
+ return this.client.sendLRORequest({
+ jobName: jobName$$1,
+ options: options
+ }, beginCancelOperationSpec, options);
+ };
+ /**
+ * The operation to restart an Azure Site Recovery job.
+ * @summary Restarts the specified job.
+ * @param jobName Job identifier.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.beginRestart = function (jobName$$1, options) {
+ return this.client.sendLRORequest({
+ jobName: jobName$$1,
+ options: options
+ }, beginRestartOperationSpec, options);
+ };
+ /**
+ * The operation to resume an Azure Site Recovery job
+ * @summary Resumes the specified job.
+ * @param jobName Job identifier.
+ * @param resumeJobParams Resume rob comments.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.beginResume = function (jobName$$1, resumeJobParams, options) {
+ return this.client.sendLRORequest({
+ jobName: jobName$$1,
+ resumeJobParams: resumeJobParams,
+ options: options
+ }, beginResumeOperationSpec, options);
+ };
+ /**
+ * The operation to export the details of the Azure Site Recovery jobs of the vault.
+ * @summary Exports the details of the Azure Site Recovery jobs of the vault.
+ * @param jobQueryParameter job query filter.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationJobs.prototype.beginExportMethod = function (jobQueryParameter, options) {
+ return this.client.sendLRORequest({
+ jobQueryParameter: jobQueryParameter,
+ options: options
+ }, beginExportMethodOperationSpec, options);
+ };
+ ReplicationJobs.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$d, callback);
+ };
+ return ReplicationJobs;
+ }());
+ // Operation Specifications
+ var serializer$h = new msRest.Serializer(Mappers$h);
+ var listOperationSpec$d = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion,
+ filter
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: JobCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$h
+ };
+ var getOperationSpec$f = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ jobName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Job
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$h
+ };
+ var beginCancelOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/cancel",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ jobName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Job
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$h
+ };
+ var beginRestartOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/restart",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ jobName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Job
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$h
+ };
+ var beginResumeOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/resume",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ jobName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "resumeJobParams",
+ mapper: __assign({}, ResumeJobParams, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Job
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$h
+ };
+ var beginExportMethodOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/export",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "jobQueryParameter",
+ mapper: __assign({}, JobQueryParameter, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Job
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$h
+ };
+ var listNextOperationSpec$d = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: JobCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$h
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$i = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ PolicyCollection: PolicyCollection,
+ Policy: Policy,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ CloudError: CloudError,
+ CreatePolicyInput: CreatePolicyInput,
+ CreatePolicyInputProperties: CreatePolicyInputProperties,
+ PolicyProviderSpecificInput: PolicyProviderSpecificInput,
+ UpdatePolicyInput: UpdatePolicyInput,
+ UpdatePolicyInputProperties: UpdatePolicyInputProperties,
+ A2APolicyCreationInput: A2APolicyCreationInput,
+ A2APolicyDetails: A2APolicyDetails,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzurePolicyInput: HyperVReplicaAzurePolicyInput,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBluePolicyInput: HyperVReplicaBluePolicyInput,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaPolicyInput: HyperVReplicaPolicyInput,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2PolicyInput: InMageAzureV2PolicyInput,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMagePolicyInput: InMagePolicyInput,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VMwareCbtPolicyCreationInput: VMwareCbtPolicyCreationInput,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationPolicies. */
+ var ReplicationPolicies = /** @class */ (function () {
+ /**
+ * Create a ReplicationPolicies.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationPolicies(client) {
+ this.client = client;
+ }
+ ReplicationPolicies.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$e, callback);
+ };
+ ReplicationPolicies.prototype.get = function (policyName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ policyName: policyName$$1,
+ options: options
+ }, getOperationSpec$g, callback);
+ };
+ /**
+ * The operation to create a replication policy
+ * @summary Creates the policy.
+ * @param policyName Replication policy name
+ * @param input Create policy input
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationPolicies.prototype.create = function (policyName$$1, input, options) {
+ return this.beginCreate(policyName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to delete a replication policy.
+ * @summary Delete the policy.
+ * @param policyName Replication policy name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationPolicies.prototype.deleteMethod = function (policyName$$1, options) {
+ return this.beginDeleteMethod(policyName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to update a replication policy.
+ * @summary Updates the policy.
+ * @param policyName Policy Id.
+ * @param input Update Policy Input
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationPolicies.prototype.update = function (policyName$$1, input, options) {
+ return this.beginUpdate(policyName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to create a replication policy
+ * @summary Creates the policy.
+ * @param policyName Replication policy name
+ * @param input Create policy input
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationPolicies.prototype.beginCreate = function (policyName$$1, input, options) {
+ return this.client.sendLRORequest({
+ policyName: policyName$$1,
+ input: input,
+ options: options
+ }, beginCreateOperationSpec$7, options);
+ };
+ /**
+ * The operation to delete a replication policy.
+ * @summary Delete the policy.
+ * @param policyName Replication policy name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationPolicies.prototype.beginDeleteMethod = function (policyName$$1, options) {
+ return this.client.sendLRORequest({
+ policyName: policyName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec$8, options);
+ };
+ /**
+ * The operation to update a replication policy.
+ * @summary Updates the policy.
+ * @param policyName Policy Id.
+ * @param input Update Policy Input
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationPolicies.prototype.beginUpdate = function (policyName$$1, input, options) {
+ return this.client.sendLRORequest({
+ policyName: policyName$$1,
+ input: input,
+ options: options
+ }, beginUpdateOperationSpec$4, options);
+ };
+ ReplicationPolicies.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$e, callback);
+ };
+ return ReplicationPolicies;
+ }());
+ // Operation Specifications
+ var serializer$i = new msRest.Serializer(Mappers$i);
+ var listOperationSpec$e = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: PolicyCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$i
+ };
+ var getOperationSpec$g = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ policyName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: Policy
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$i
+ };
+ var beginCreateOperationSpec$7 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ policyName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, CreatePolicyInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Policy
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$i
+ };
+ var beginDeleteMethodOperationSpec$8 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ policyName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$i
+ };
+ var beginUpdateOperationSpec$4 = {
+ httpMethod: "PATCH",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationPolicies/{policyName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ policyName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, UpdatePolicyInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: Policy
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$i
+ };
+ var listNextOperationSpec$e = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: PolicyCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$i
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$j = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ RecoveryPlanCollection: RecoveryPlanCollection,
+ RecoveryPlan: RecoveryPlan,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ CloudError: CloudError,
+ CreateRecoveryPlanInput: CreateRecoveryPlanInput,
+ CreateRecoveryPlanInputProperties: CreateRecoveryPlanInputProperties,
+ UpdateRecoveryPlanInput: UpdateRecoveryPlanInput,
+ UpdateRecoveryPlanInputProperties: UpdateRecoveryPlanInputProperties,
+ RecoveryPlanPlannedFailoverInput: RecoveryPlanPlannedFailoverInput,
+ RecoveryPlanPlannedFailoverInputProperties: RecoveryPlanPlannedFailoverInputProperties,
+ RecoveryPlanProviderSpecificFailoverInput: RecoveryPlanProviderSpecificFailoverInput,
+ RecoveryPlanTestFailoverInput: RecoveryPlanTestFailoverInput,
+ RecoveryPlanTestFailoverInputProperties: RecoveryPlanTestFailoverInputProperties,
+ RecoveryPlanTestFailoverCleanupInput: RecoveryPlanTestFailoverCleanupInput,
+ RecoveryPlanTestFailoverCleanupInputProperties: RecoveryPlanTestFailoverCleanupInputProperties,
+ RecoveryPlanUnplannedFailoverInput: RecoveryPlanUnplannedFailoverInput,
+ RecoveryPlanUnplannedFailoverInputProperties: RecoveryPlanUnplannedFailoverInputProperties,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlanA2AFailoverInput: RecoveryPlanA2AFailoverInput,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanHyperVReplicaAzureFailbackInput: RecoveryPlanHyperVReplicaAzureFailbackInput,
+ RecoveryPlanHyperVReplicaAzureFailoverInput: RecoveryPlanHyperVReplicaAzureFailoverInput,
+ RecoveryPlanInMageAzureV2FailoverInput: RecoveryPlanInMageAzureV2FailoverInput,
+ RecoveryPlanInMageFailoverInput: RecoveryPlanInMageFailoverInput,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VaultHealthDetails: VaultHealthDetails,
+ VaultHealthProperties: VaultHealthProperties,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationRecoveryPlans. */
+ var ReplicationRecoveryPlans = /** @class */ (function () {
+ /**
+ * Create a ReplicationRecoveryPlans.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationRecoveryPlans(client) {
+ this.client = client;
+ }
+ ReplicationRecoveryPlans.prototype.list = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, listOperationSpec$f, callback);
+ };
+ ReplicationRecoveryPlans.prototype.get = function (recoveryPlanName$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ options: options
+ }, getOperationSpec$h, callback);
+ };
+ /**
+ * The operation to create a recovery plan.
+ * @summary Creates a recovery plan with the given details.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Recovery Plan creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.create = function (recoveryPlanName$$1, input, options) {
+ return this.beginCreate(recoveryPlanName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * Delete a recovery plan.
+ * @summary Deletes the specified recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.deleteMethod = function (recoveryPlanName$$1, options) {
+ return this.beginDeleteMethod(recoveryPlanName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to update a recovery plan.
+ * @summary Updates the given recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Update recovery plan input
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.update = function (recoveryPlanName$$1, input, options) {
+ return this.beginUpdate(recoveryPlanName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to commit the fail over of a recovery plan.
+ * @summary Execute commit failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.failoverCommit = function (recoveryPlanName$$1, options) {
+ return this.beginFailoverCommit(recoveryPlanName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to start the planned failover of a recovery plan.
+ * @summary Execute planned failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.plannedFailover = function (recoveryPlanName$$1, input, options) {
+ return this.beginPlannedFailover(recoveryPlanName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to reprotect(reverse replicate) a recovery plan.
+ * @summary Execute reprotect of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.reprotect = function (recoveryPlanName$$1, options) {
+ return this.beginReprotect(recoveryPlanName$$1, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to start the test failover of a recovery plan.
+ * @summary Execute test failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.testFailover = function (recoveryPlanName$$1, input, options) {
+ return this.beginTestFailover(recoveryPlanName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to cleanup test failover of a recovery plan.
+ * @summary Execute test failover cleanup of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Test failover cleanup input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.testFailoverCleanup = function (recoveryPlanName$$1, input, options) {
+ return this.beginTestFailoverCleanup(recoveryPlanName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to start the failover of a recovery plan.
+ * @summary Execute unplanned failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.unplannedFailover = function (recoveryPlanName$$1, input, options) {
+ return this.beginUnplannedFailover(recoveryPlanName$$1, input, options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * The operation to create a recovery plan.
+ * @summary Creates a recovery plan with the given details.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Recovery Plan creation input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginCreate = function (recoveryPlanName$$1, input, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ input: input,
+ options: options
+ }, beginCreateOperationSpec$8, options);
+ };
+ /**
+ * Delete a recovery plan.
+ * @summary Deletes the specified recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginDeleteMethod = function (recoveryPlanName$$1, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ options: options
+ }, beginDeleteMethodOperationSpec$9, options);
+ };
+ /**
+ * The operation to update a recovery plan.
+ * @summary Updates the given recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Update recovery plan input
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginUpdate = function (recoveryPlanName$$1, input, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ input: input,
+ options: options
+ }, beginUpdateOperationSpec$5, options);
+ };
+ /**
+ * The operation to commit the fail over of a recovery plan.
+ * @summary Execute commit failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginFailoverCommit = function (recoveryPlanName$$1, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ options: options
+ }, beginFailoverCommitOperationSpec$1, options);
+ };
+ /**
+ * The operation to start the planned failover of a recovery plan.
+ * @summary Execute planned failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginPlannedFailover = function (recoveryPlanName$$1, input, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ input: input,
+ options: options
+ }, beginPlannedFailoverOperationSpec$1, options);
+ };
+ /**
+ * The operation to reprotect(reverse replicate) a recovery plan.
+ * @summary Execute reprotect of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginReprotect = function (recoveryPlanName$$1, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ options: options
+ }, beginReprotectOperationSpec$1, options);
+ };
+ /**
+ * The operation to start the test failover of a recovery plan.
+ * @summary Execute test failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginTestFailover = function (recoveryPlanName$$1, input, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ input: input,
+ options: options
+ }, beginTestFailoverOperationSpec$1, options);
+ };
+ /**
+ * The operation to cleanup test failover of a recovery plan.
+ * @summary Execute test failover cleanup of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Test failover cleanup input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginTestFailoverCleanup = function (recoveryPlanName$$1, input, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ input: input,
+ options: options
+ }, beginTestFailoverCleanupOperationSpec$1, options);
+ };
+ /**
+ * The operation to start the failover of a recovery plan.
+ * @summary Execute unplanned failover of the recovery plan.
+ * @param recoveryPlanName Recovery plan name.
+ * @param input Failover input.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationRecoveryPlans.prototype.beginUnplannedFailover = function (recoveryPlanName$$1, input, options) {
+ return this.client.sendLRORequest({
+ recoveryPlanName: recoveryPlanName$$1,
+ input: input,
+ options: options
+ }, beginUnplannedFailoverOperationSpec$1, options);
+ };
+ ReplicationRecoveryPlans.prototype.listNext = function (nextPageLink$$1, options, callback) {
+ return this.client.sendOperationRequest({
+ nextPageLink: nextPageLink$$1,
+ options: options
+ }, listNextOperationSpec$f, callback);
+ };
+ return ReplicationRecoveryPlans;
+ }());
+ // Operation Specifications
+ var serializer$j = new msRest.Serializer(Mappers$j);
+ var listOperationSpec$f = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlanCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var getOperationSpec$h = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginCreateOperationSpec$8 = {
+ httpMethod: "PUT",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, CreateRecoveryPlanInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginDeleteMethodOperationSpec$9 = {
+ httpMethod: "DELETE",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 202: {},
+ 204: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginUpdateOperationSpec$5 = {
+ httpMethod: "PATCH",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, UpdateRecoveryPlanInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginFailoverCommitOperationSpec$1 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/failoverCommit",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginPlannedFailoverOperationSpec$1 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/plannedFailover",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, RecoveryPlanPlannedFailoverInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginReprotectOperationSpec$1 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/reProtect",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginTestFailoverOperationSpec$1 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailover",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, RecoveryPlanTestFailoverInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginTestFailoverCleanupOperationSpec$1 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/testFailoverCleanup",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, RecoveryPlanTestFailoverCleanupInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var beginUnplannedFailoverOperationSpec$1 = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}/unplannedFailover",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId,
+ recoveryPlanName
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ requestBody: {
+ parameterPath: "input",
+ mapper: __assign({}, RecoveryPlanUnplannedFailoverInput, { required: true })
+ },
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlan
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+ var listNextOperationSpec$f = {
+ httpMethod: "GET",
+ baseUrl: "https://management.azure.com",
+ path: "{nextLink}",
+ urlParameters: [
+ nextPageLink
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: RecoveryPlanCollection
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$j
+ };
+
+ /*
+ * 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.
+ */
+
+ var Mappers$k = /*#__PURE__*/Object.freeze({
+ discriminators: discriminators,
+ VaultHealthDetails: VaultHealthDetails,
+ Resource: Resource,
+ BaseResource: BaseResource,
+ VaultHealthProperties: VaultHealthProperties,
+ HealthError: HealthError,
+ InnerHealthError: InnerHealthError,
+ ResourceHealthSummary: ResourceHealthSummary,
+ HealthErrorSummary: HealthErrorSummary,
+ CloudError: CloudError,
+ Alert: Alert,
+ AlertProperties: AlertProperties,
+ Event: Event,
+ EventProperties: EventProperties,
+ EventProviderSpecificDetails: EventProviderSpecificDetails,
+ EventSpecificDetails: EventSpecificDetails,
+ Fabric: Fabric,
+ FabricProperties: FabricProperties,
+ EncryptionDetails: EncryptionDetails,
+ FabricSpecificDetails: FabricSpecificDetails,
+ HyperVReplica2012EventDetails: HyperVReplica2012EventDetails,
+ HyperVReplica2012R2EventDetails: HyperVReplica2012R2EventDetails,
+ HyperVReplicaAzureEventDetails: HyperVReplicaAzureEventDetails,
+ HyperVReplicaBaseEventDetails: HyperVReplicaBaseEventDetails,
+ HyperVSiteDetails: HyperVSiteDetails,
+ InMageAzureV2EventDetails: InMageAzureV2EventDetails,
+ Job: Job,
+ JobProperties: JobProperties,
+ ASRTask: ASRTask,
+ TaskTypeDetails: TaskTypeDetails,
+ GroupTaskDetails: GroupTaskDetails,
+ JobErrorDetails: JobErrorDetails,
+ ServiceError: ServiceError,
+ ProviderError: ProviderError,
+ JobDetails: JobDetails,
+ JobStatusEventDetails: JobStatusEventDetails,
+ JobTaskDetails: JobTaskDetails,
+ JobEntity: JobEntity,
+ LogicalNetwork: LogicalNetwork,
+ LogicalNetworkProperties: LogicalNetworkProperties,
+ ManualActionTaskDetails: ManualActionTaskDetails,
+ Network: Network,
+ NetworkProperties: NetworkProperties,
+ Subnet: Subnet,
+ NetworkMapping: NetworkMapping,
+ NetworkMappingProperties: NetworkMappingProperties,
+ NetworkMappingFabricSpecificSettings: NetworkMappingFabricSpecificSettings,
+ Policy: Policy,
+ PolicyProperties: PolicyProperties,
+ PolicyProviderSpecificDetails: PolicyProviderSpecificDetails,
+ ProtectableItem: ProtectableItem,
+ ProtectableItemProperties: ProtectableItemProperties,
+ ConfigurationSettings: ConfigurationSettings,
+ ProtectionContainer: ProtectionContainer,
+ ProtectionContainerProperties: ProtectionContainerProperties,
+ ProtectionContainerFabricSpecificDetails: ProtectionContainerFabricSpecificDetails,
+ ProtectionContainerMapping: ProtectionContainerMapping,
+ ProtectionContainerMappingProperties: ProtectionContainerMappingProperties,
+ ProtectionContainerMappingProviderSpecificDetails: ProtectionContainerMappingProviderSpecificDetails,
+ RcmAzureMigrationPolicyDetails: RcmAzureMigrationPolicyDetails,
+ RecoveryPlan: RecoveryPlan,
+ RecoveryPlanProperties: RecoveryPlanProperties,
+ CurrentScenarioDetails: CurrentScenarioDetails,
+ RecoveryPlanGroup: RecoveryPlanGroup,
+ RecoveryPlanProtectedItem: RecoveryPlanProtectedItem,
+ RecoveryPlanAction: RecoveryPlanAction,
+ RecoveryPlanActionDetails: RecoveryPlanActionDetails,
+ RecoveryPlanAutomationRunbookActionDetails: RecoveryPlanAutomationRunbookActionDetails,
+ RecoveryPlanGroupTaskDetails: RecoveryPlanGroupTaskDetails,
+ RecoveryPlanManualActionDetails: RecoveryPlanManualActionDetails,
+ RecoveryPlanScriptActionDetails: RecoveryPlanScriptActionDetails,
+ RecoveryPlanShutdownGroupTaskDetails: RecoveryPlanShutdownGroupTaskDetails,
+ RecoveryPoint: RecoveryPoint,
+ RecoveryPointProperties: RecoveryPointProperties,
+ ProviderSpecificRecoveryPointDetails: ProviderSpecificRecoveryPointDetails,
+ RecoveryServicesProvider: RecoveryServicesProvider,
+ RecoveryServicesProviderProperties: RecoveryServicesProviderProperties,
+ IdentityInformation: IdentityInformation,
+ VersionDetails: VersionDetails,
+ ReplicationGroupDetails: ReplicationGroupDetails,
+ ReplicationProtectedItem: ReplicationProtectedItem,
+ ReplicationProtectedItemProperties: ReplicationProtectedItemProperties,
+ ReplicationProviderSpecificSettings: ReplicationProviderSpecificSettings,
+ ScriptActionTaskDetails: ScriptActionTaskDetails,
+ StorageClassification: StorageClassification,
+ StorageClassificationProperties: StorageClassificationProperties,
+ StorageClassificationMapping: StorageClassificationMapping,
+ StorageClassificationMappingProperties: StorageClassificationMappingProperties,
+ SwitchProtectionJobDetails: SwitchProtectionJobDetails,
+ TestFailoverJobDetails: TestFailoverJobDetails,
+ FailoverReplicationProtectedItemDetails: FailoverReplicationProtectedItemDetails,
+ VCenter: VCenter,
+ VCenterProperties: VCenterProperties,
+ VirtualMachineTaskDetails: VirtualMachineTaskDetails,
+ VmmDetails: VmmDetails,
+ VmmToAzureNetworkMappingSettings: VmmToAzureNetworkMappingSettings,
+ VmmToVmmNetworkMappingSettings: VmmToVmmNetworkMappingSettings,
+ VmmVirtualMachineDetails: VmmVirtualMachineDetails,
+ OSDetails: OSDetails,
+ DiskDetails: DiskDetails,
+ VmNicUpdatesTaskDetails: VmNicUpdatesTaskDetails,
+ VmwareCbtPolicyDetails: VmwareCbtPolicyDetails,
+ VMwareDetails: VMwareDetails,
+ ProcessServer: ProcessServer,
+ MobilityServiceUpdate: MobilityServiceUpdate,
+ MasterTargetServer: MasterTargetServer,
+ RetentionVolume: RetentionVolume,
+ DataStore: DataStore,
+ RunAsAccount: RunAsAccount,
+ VMwareV2FabricSpecificDetails: VMwareV2FabricSpecificDetails,
+ VMwareVirtualMachineDetails: VMwareVirtualMachineDetails,
+ InMageDiskDetails: InMageDiskDetails,
+ DiskVolumeDetails: DiskVolumeDetails,
+ A2AEventDetails: A2AEventDetails,
+ A2APolicyDetails: A2APolicyDetails,
+ A2AProtectionContainerMappingDetails: A2AProtectionContainerMappingDetails,
+ A2ARecoveryPointDetails: A2ARecoveryPointDetails,
+ A2AReplicationDetails: A2AReplicationDetails,
+ A2AProtectedDiskDetails: A2AProtectedDiskDetails,
+ A2AProtectedManagedDiskDetails: A2AProtectedManagedDiskDetails,
+ VMNicDetails: VMNicDetails,
+ AzureToAzureVmSyncedConfigDetails: AzureToAzureVmSyncedConfigDetails,
+ RoleAssignment: RoleAssignment,
+ InputEndpoint: InputEndpoint,
+ AsrJobDetails: AsrJobDetails,
+ AutomationRunbookTaskDetails: AutomationRunbookTaskDetails,
+ AzureFabricSpecificDetails: AzureFabricSpecificDetails,
+ AzureToAzureNetworkMappingSettings: AzureToAzureNetworkMappingSettings,
+ ConsistencyCheckTaskDetails: ConsistencyCheckTaskDetails,
+ InconsistentVmDetails: InconsistentVmDetails,
+ ExportJobDetails: ExportJobDetails,
+ FabricReplicationGroupTaskDetails: FabricReplicationGroupTaskDetails,
+ FailoverJobDetails: FailoverJobDetails,
+ HyperVReplicaAzurePolicyDetails: HyperVReplicaAzurePolicyDetails,
+ HyperVReplicaAzureReplicationDetails: HyperVReplicaAzureReplicationDetails,
+ AzureVmDiskDetails: AzureVmDiskDetails,
+ InitialReplicationDetails: InitialReplicationDetails,
+ HyperVReplicaBasePolicyDetails: HyperVReplicaBasePolicyDetails,
+ HyperVReplicaBaseReplicationDetails: HyperVReplicaBaseReplicationDetails,
+ HyperVReplicaBluePolicyDetails: HyperVReplicaBluePolicyDetails,
+ HyperVReplicaBlueReplicationDetails: HyperVReplicaBlueReplicationDetails,
+ HyperVReplicaPolicyDetails: HyperVReplicaPolicyDetails,
+ HyperVReplicaReplicationDetails: HyperVReplicaReplicationDetails,
+ HyperVVirtualMachineDetails: HyperVVirtualMachineDetails,
+ InlineWorkflowTaskDetails: InlineWorkflowTaskDetails,
+ InMageAzureV2PolicyDetails: InMageAzureV2PolicyDetails,
+ InMageAzureV2RecoveryPointDetails: InMageAzureV2RecoveryPointDetails,
+ InMageAzureV2ReplicationDetails: InMageAzureV2ReplicationDetails,
+ InMageAzureV2ProtectedDiskDetails: InMageAzureV2ProtectedDiskDetails,
+ InMageBasePolicyDetails: InMageBasePolicyDetails,
+ InMagePolicyDetails: InMagePolicyDetails,
+ InMageReplicationDetails: InMageReplicationDetails,
+ OSDiskDetails: OSDiskDetails,
+ InMageProtectedDiskDetails: InMageProtectedDiskDetails,
+ InMageAgentDetails: InMageAgentDetails
+ });
+
+ /*
+ * 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.
+ */
+ /** Class representing a ReplicationVaultHealth. */
+ var ReplicationVaultHealth = /** @class */ (function () {
+ /**
+ * Create a ReplicationVaultHealth.
+ * @param {SiteRecoveryManagementClientContext} client Reference to the service client.
+ */
+ function ReplicationVaultHealth(client) {
+ this.client = client;
+ }
+ ReplicationVaultHealth.prototype.get = function (options, callback) {
+ return this.client.sendOperationRequest({
+ options: options
+ }, getOperationSpec$i, callback);
+ };
+ /**
+ * @summary Refreshes health summary of the vault.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationVaultHealth.prototype.refresh = function (options) {
+ return this.beginRefresh(options)
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
+ };
+ /**
+ * @summary Refreshes health summary of the vault.
+ * @param [options] The optional parameters
+ * @returns Promise
+ */
+ ReplicationVaultHealth.prototype.beginRefresh = function (options) {
+ return this.client.sendLRORequest({
+ options: options
+ }, beginRefreshOperationSpec, options);
+ };
+ return ReplicationVaultHealth;
+ }());
+ // Operation Specifications
+ var serializer$k = new msRest.Serializer(Mappers$k);
+ var getOperationSpec$i = {
+ httpMethod: "GET",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: VaultHealthDetails
+ },
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$k
+ };
+ var beginRefreshOperationSpec = {
+ httpMethod: "POST",
+ path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth/default/refresh",
+ urlParameters: [
+ resourceName,
+ resourceGroupName,
+ subscriptionId
+ ],
+ queryParameters: [
+ apiVersion
+ ],
+ headerParameters: [
+ acceptLanguage
+ ],
+ responses: {
+ 200: {
+ bodyMapper: VaultHealthDetails
+ },
+ 202: {},
+ default: {
+ bodyMapper: CloudError
+ }
+ },
+ serializer: serializer$k
+ };
+
+ /*
+ * 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.
+ */
+
+ /*
+ * 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.
+ */
+ var packageName = "@azure/arm-recoveryservices-siterecovery";
+ var packageVersion = "1.0.0";
+ var SiteRecoveryManagementClientContext = /** @class */ (function (_super) {
+ __extends(SiteRecoveryManagementClientContext, _super);
+ /**
+ * Initializes a new instance of the SiteRecoveryManagementClient class.
+ * @param credentials Credentials needed for the client to connect to Azure.
+ * @param subscriptionId The subscription Id.
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
+ * present.
+ * @param resourceName The name of the recovery services vault.
+ * @param [options] The parameter options
+ */
+ function SiteRecoveryManagementClientContext(credentials, subscriptionId, resourceGroupName, resourceName, options) {
+ var _this = this;
+ if (credentials == undefined) {
+ throw new Error('\'credentials\' cannot be null.');
+ }
+ if (subscriptionId == undefined) {
+ throw new Error('\'subscriptionId\' cannot be null.');
+ }
+ if (resourceGroupName == undefined) {
+ throw new Error('\'resourceGroupName\' cannot be null.');
+ }
+ if (resourceName == undefined) {
+ throw new Error('\'resourceName\' cannot be null.');
+ }
+ if (!options) {
+ options = {};
+ }
+ _this = _super.call(this, credentials, options) || this;
+ _this.apiVersion = '2018-01-10';
+ _this.acceptLanguage = 'en-US';
+ _this.longRunningOperationRetryTimeout = 30;
+ _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
+ _this.requestContentType = "application/json; charset=utf-8";
+ _this.credentials = credentials;
+ _this.subscriptionId = subscriptionId;
+ _this.resourceGroupName = resourceGroupName;
+ _this.resourceName = resourceName;
+ _this.addUserAgentInfo(packageName + "/" + packageVersion);
+ if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
+ _this.acceptLanguage = options.acceptLanguage;
+ }
+ if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
+ _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
+ }
+ return _this;
+ }
+ return SiteRecoveryManagementClientContext;
+ }(msRestAzure.AzureServiceClient));
+
+ /*
+ * 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.
+ */
+ var SiteRecoveryManagementClient = /** @class */ (function (_super) {
+ __extends(SiteRecoveryManagementClient, _super);
+ /**
+ * Initializes a new instance of the SiteRecoveryManagementClient class.
+ * @param credentials Credentials needed for the client to connect to Azure.
+ * @param subscriptionId The subscription Id.
+ * @param resourceGroupName The name of the resource group where the recovery services vault is
+ * present.
+ * @param resourceName The name of the recovery services vault.
+ * @param [options] The parameter options
+ */
+ function SiteRecoveryManagementClient(credentials, subscriptionId, resourceGroupName, resourceName, options) {
+ var _this = _super.call(this, credentials, subscriptionId, resourceGroupName, resourceName, options) || this;
+ _this.operations = new Operations(_this);
+ _this.replicationAlertSettings = new ReplicationAlertSettings(_this);
+ _this.replicationEvents = new ReplicationEvents(_this);
+ _this.replicationFabrics = new ReplicationFabrics(_this);
+ _this.replicationLogicalNetworks = new ReplicationLogicalNetworks(_this);
+ _this.replicationNetworks = new ReplicationNetworks(_this);
+ _this.replicationNetworkMappings = new ReplicationNetworkMappings(_this);
+ _this.replicationProtectionContainers = new ReplicationProtectionContainers(_this);
+ _this.replicationProtectableItems = new ReplicationProtectableItems(_this);
+ _this.replicationProtectedItems = new ReplicationProtectedItems(_this);
+ _this.recoveryPoints = new RecoveryPoints(_this);
+ _this.targetComputeSizes = new TargetComputeSizes(_this);
+ _this.replicationProtectionContainerMappings = new ReplicationProtectionContainerMappings(_this);
+ _this.replicationRecoveryServicesProviders = new ReplicationRecoveryServicesProviders(_this);
+ _this.replicationStorageClassifications = new ReplicationStorageClassifications(_this);
+ _this.replicationStorageClassificationMappings = new ReplicationStorageClassificationMappings(_this);
+ _this.replicationvCenters = new ReplicationvCenters(_this);
+ _this.replicationJobs = new ReplicationJobs(_this);
+ _this.replicationPolicies = new ReplicationPolicies(_this);
+ _this.replicationRecoveryPlans = new ReplicationRecoveryPlans(_this);
+ _this.replicationVaultHealth = new ReplicationVaultHealth(_this);
+ return _this;
+ }
+ return SiteRecoveryManagementClient;
+ }(SiteRecoveryManagementClientContext));
+
+ exports.SiteRecoveryManagementClient = SiteRecoveryManagementClient;
+ exports.SiteRecoveryManagementClientContext = SiteRecoveryManagementClientContext;
+ exports.SiteRecoveryManagementModels = index;
+ exports.SiteRecoveryManagementMappers = mappers;
+ exports.Operations = Operations;
+ exports.ReplicationAlertSettings = ReplicationAlertSettings;
+ exports.ReplicationEvents = ReplicationEvents;
+ exports.ReplicationFabrics = ReplicationFabrics;
+ exports.ReplicationLogicalNetworks = ReplicationLogicalNetworks;
+ exports.ReplicationNetworks = ReplicationNetworks;
+ exports.ReplicationNetworkMappings = ReplicationNetworkMappings;
+ exports.ReplicationProtectionContainers = ReplicationProtectionContainers;
+ exports.ReplicationProtectableItems = ReplicationProtectableItems;
+ exports.ReplicationProtectedItems = ReplicationProtectedItems;
+ exports.RecoveryPoints = RecoveryPoints;
+ exports.TargetComputeSizes = TargetComputeSizes;
+ exports.ReplicationProtectionContainerMappings = ReplicationProtectionContainerMappings;
+ exports.ReplicationRecoveryServicesProviders = ReplicationRecoveryServicesProviders;
+ exports.ReplicationStorageClassifications = ReplicationStorageClassifications;
+ exports.ReplicationStorageClassificationMappings = ReplicationStorageClassificationMappings;
+ exports.ReplicationvCenters = ReplicationvCenters;
+ exports.ReplicationJobs = ReplicationJobs;
+ exports.ReplicationPolicies = ReplicationPolicies;
+ exports.ReplicationRecoveryPlans = ReplicationRecoveryPlans;
+ exports.ReplicationVaultHealth = ReplicationVaultHealth;
+
+ Object.defineProperty(exports, '__esModule', { value: true });
+
+})));
+//# sourceMappingURL=arm-recoveryservices-siterecovery.js.map
diff --git a/packages/@azure/arm-recoveryservices-siterecovery/dist/arm-recoveryservices-siterecovery.js.map b/packages/@azure/arm-recoveryservices-siterecovery/dist/arm-recoveryservices-siterecovery.js.map
new file mode 100644
index 000000000000..3322806d7862
--- /dev/null
+++ b/packages/@azure/arm-recoveryservices-siterecovery/dist/arm-recoveryservices-siterecovery.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"arm-recoveryservices-siterecovery.js","sources":["../node_modules/tslib/tslib.es6.js","../esm/models/index.js","../esm/models/mappers.js","../esm/models/operationsMappers.js","../esm/models/parameters.js","../esm/operations/operations.js","../esm/models/replicationAlertSettingsMappers.js","../esm/operations/replicationAlertSettings.js","../esm/models/replicationEventsMappers.js","../esm/operations/replicationEvents.js","../esm/models/replicationFabricsMappers.js","../esm/operations/replicationFabrics.js","../esm/models/replicationLogicalNetworksMappers.js","../esm/operations/replicationLogicalNetworks.js","../esm/models/replicationNetworksMappers.js","../esm/operations/replicationNetworks.js","../esm/models/replicationNetworkMappingsMappers.js","../esm/operations/replicationNetworkMappings.js","../esm/models/replicationProtectionContainersMappers.js","../esm/operations/replicationProtectionContainers.js","../esm/models/replicationProtectableItemsMappers.js","../esm/operations/replicationProtectableItems.js","../esm/models/replicationProtectedItemsMappers.js","../esm/operations/replicationProtectedItems.js","../esm/models/recoveryPointsMappers.js","../esm/operations/recoveryPoints.js","../esm/models/targetComputeSizesMappers.js","../esm/operations/targetComputeSizes.js","../esm/models/replicationProtectionContainerMappingsMappers.js","../esm/operations/replicationProtectionContainerMappings.js","../esm/models/replicationRecoveryServicesProvidersMappers.js","../esm/operations/replicationRecoveryServicesProviders.js","../esm/models/replicationStorageClassificationsMappers.js","../esm/operations/replicationStorageClassifications.js","../esm/models/replicationStorageClassificationMappingsMappers.js","../esm/operations/replicationStorageClassificationMappings.js","../esm/models/replicationvCentersMappers.js","../esm/operations/replicationvCenters.js","../esm/models/replicationJobsMappers.js","../esm/operations/replicationJobs.js","../esm/models/replicationPoliciesMappers.js","../esm/operations/replicationPolicies.js","../esm/models/replicationRecoveryPlansMappers.js","../esm/operations/replicationRecoveryPlans.js","../esm/models/replicationVaultHealthMappers.js","../esm/operations/replicationVaultHealth.js","../esm/operations/index.js","../esm/siteRecoveryManagementClientContext.js","../esm/siteRecoveryManagementClient.js"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\n/**\r\n * Defines values for AgentAutoUpdateStatus.\r\n * Possible values include: 'Disabled', 'Enabled'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: AgentAutoUpdateStatus =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var AgentAutoUpdateStatus;\r\n(function (AgentAutoUpdateStatus) {\r\n AgentAutoUpdateStatus[\"Disabled\"] = \"Disabled\";\r\n AgentAutoUpdateStatus[\"Enabled\"] = \"Enabled\";\r\n})(AgentAutoUpdateStatus || (AgentAutoUpdateStatus = {}));\r\n/**\r\n * Defines values for SetMultiVmSyncStatus.\r\n * Possible values include: 'Enable', 'Disable'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: SetMultiVmSyncStatus =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SetMultiVmSyncStatus;\r\n(function (SetMultiVmSyncStatus) {\r\n SetMultiVmSyncStatus[\"Enable\"] = \"Enable\";\r\n SetMultiVmSyncStatus[\"Disable\"] = \"Disable\";\r\n})(SetMultiVmSyncStatus || (SetMultiVmSyncStatus = {}));\r\n/**\r\n * Defines values for RecoveryPointSyncType.\r\n * Possible values include: 'MultiVmSyncRecoveryPoint', 'PerVmRecoveryPoint'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: RecoveryPointSyncType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RecoveryPointSyncType;\r\n(function (RecoveryPointSyncType) {\r\n RecoveryPointSyncType[\"MultiVmSyncRecoveryPoint\"] = \"MultiVmSyncRecoveryPoint\";\r\n RecoveryPointSyncType[\"PerVmRecoveryPoint\"] = \"PerVmRecoveryPoint\";\r\n})(RecoveryPointSyncType || (RecoveryPointSyncType = {}));\r\n/**\r\n * Defines values for MultiVmGroupCreateOption.\r\n * Possible values include: 'AutoCreated', 'UserSpecified'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: MultiVmGroupCreateOption =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var MultiVmGroupCreateOption;\r\n(function (MultiVmGroupCreateOption) {\r\n MultiVmGroupCreateOption[\"AutoCreated\"] = \"AutoCreated\";\r\n MultiVmGroupCreateOption[\"UserSpecified\"] = \"UserSpecified\";\r\n})(MultiVmGroupCreateOption || (MultiVmGroupCreateOption = {}));\r\n/**\r\n * Defines values for FailoverDeploymentModel.\r\n * Possible values include: 'NotApplicable', 'Classic', 'ResourceManager'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: FailoverDeploymentModel =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var FailoverDeploymentModel;\r\n(function (FailoverDeploymentModel) {\r\n FailoverDeploymentModel[\"NotApplicable\"] = \"NotApplicable\";\r\n FailoverDeploymentModel[\"Classic\"] = \"Classic\";\r\n FailoverDeploymentModel[\"ResourceManager\"] = \"ResourceManager\";\r\n})(FailoverDeploymentModel || (FailoverDeploymentModel = {}));\r\n/**\r\n * Defines values for RecoveryPlanGroupType.\r\n * Possible values include: 'Shutdown', 'Boot', 'Failover'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: RecoveryPlanGroupType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RecoveryPlanGroupType;\r\n(function (RecoveryPlanGroupType) {\r\n RecoveryPlanGroupType[\"Shutdown\"] = \"Shutdown\";\r\n RecoveryPlanGroupType[\"Boot\"] = \"Boot\";\r\n RecoveryPlanGroupType[\"Failover\"] = \"Failover\";\r\n})(RecoveryPlanGroupType || (RecoveryPlanGroupType = {}));\r\n/**\r\n * Defines values for ReplicationProtectedItemOperation.\r\n * Possible values include: 'ReverseReplicate', 'Commit', 'PlannedFailover',\r\n * 'UnplannedFailover', 'DisableProtection', 'TestFailover',\r\n * 'TestFailoverCleanup', 'Failback', 'FinalizeFailback', 'ChangePit',\r\n * 'RepairReplication', 'SwitchProtection', 'CompleteMigration'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: ReplicationProtectedItemOperation =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var ReplicationProtectedItemOperation;\r\n(function (ReplicationProtectedItemOperation) {\r\n ReplicationProtectedItemOperation[\"ReverseReplicate\"] = \"ReverseReplicate\";\r\n ReplicationProtectedItemOperation[\"Commit\"] = \"Commit\";\r\n ReplicationProtectedItemOperation[\"PlannedFailover\"] = \"PlannedFailover\";\r\n ReplicationProtectedItemOperation[\"UnplannedFailover\"] = \"UnplannedFailover\";\r\n ReplicationProtectedItemOperation[\"DisableProtection\"] = \"DisableProtection\";\r\n ReplicationProtectedItemOperation[\"TestFailover\"] = \"TestFailover\";\r\n ReplicationProtectedItemOperation[\"TestFailoverCleanup\"] = \"TestFailoverCleanup\";\r\n ReplicationProtectedItemOperation[\"Failback\"] = \"Failback\";\r\n ReplicationProtectedItemOperation[\"FinalizeFailback\"] = \"FinalizeFailback\";\r\n ReplicationProtectedItemOperation[\"ChangePit\"] = \"ChangePit\";\r\n ReplicationProtectedItemOperation[\"RepairReplication\"] = \"RepairReplication\";\r\n ReplicationProtectedItemOperation[\"SwitchProtection\"] = \"SwitchProtection\";\r\n ReplicationProtectedItemOperation[\"CompleteMigration\"] = \"CompleteMigration\";\r\n})(ReplicationProtectedItemOperation || (ReplicationProtectedItemOperation = {}));\r\n/**\r\n * Defines values for PossibleOperationsDirections.\r\n * Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: PossibleOperationsDirections =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var PossibleOperationsDirections;\r\n(function (PossibleOperationsDirections) {\r\n PossibleOperationsDirections[\"PrimaryToRecovery\"] = \"PrimaryToRecovery\";\r\n PossibleOperationsDirections[\"RecoveryToPrimary\"] = \"RecoveryToPrimary\";\r\n})(PossibleOperationsDirections || (PossibleOperationsDirections = {}));\r\n/**\r\n * Defines values for DisableProtectionReason.\r\n * Possible values include: 'NotSpecified', 'MigrationComplete'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: DisableProtectionReason =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var DisableProtectionReason;\r\n(function (DisableProtectionReason) {\r\n DisableProtectionReason[\"NotSpecified\"] = \"NotSpecified\";\r\n DisableProtectionReason[\"MigrationComplete\"] = \"MigrationComplete\";\r\n})(DisableProtectionReason || (DisableProtectionReason = {}));\r\n/**\r\n * Defines values for HealthErrorCategory.\r\n * Possible values include: 'None', 'Replication', 'TestFailover',\r\n * 'Configuration', 'FabricInfrastructure', 'VersionExpiry', 'AgentAutoUpdate'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: HealthErrorCategory =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var HealthErrorCategory;\r\n(function (HealthErrorCategory) {\r\n HealthErrorCategory[\"None\"] = \"None\";\r\n HealthErrorCategory[\"Replication\"] = \"Replication\";\r\n HealthErrorCategory[\"TestFailover\"] = \"TestFailover\";\r\n HealthErrorCategory[\"Configuration\"] = \"Configuration\";\r\n HealthErrorCategory[\"FabricInfrastructure\"] = \"FabricInfrastructure\";\r\n HealthErrorCategory[\"VersionExpiry\"] = \"VersionExpiry\";\r\n HealthErrorCategory[\"AgentAutoUpdate\"] = \"AgentAutoUpdate\";\r\n})(HealthErrorCategory || (HealthErrorCategory = {}));\r\n/**\r\n * Defines values for Severity.\r\n * Possible values include: 'NONE', 'Warning', 'Error', 'Info'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: Severity = \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var Severity;\r\n(function (Severity) {\r\n Severity[\"NONE\"] = \"NONE\";\r\n Severity[\"Warning\"] = \"Warning\";\r\n Severity[\"Error\"] = \"Error\";\r\n Severity[\"Info\"] = \"Info\";\r\n})(Severity || (Severity = {}));\r\n/**\r\n * Defines values for PresenceStatus.\r\n * Possible values include: 'Unknown', 'Present', 'NotPresent'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: PresenceStatus =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var PresenceStatus;\r\n(function (PresenceStatus) {\r\n PresenceStatus[\"Unknown\"] = \"Unknown\";\r\n PresenceStatus[\"Present\"] = \"Present\";\r\n PresenceStatus[\"NotPresent\"] = \"NotPresent\";\r\n})(PresenceStatus || (PresenceStatus = {}));\r\n/**\r\n * Defines values for IdentityProviderType.\r\n * Possible values include: 'RecoveryServicesActiveDirectory'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: IdentityProviderType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var IdentityProviderType;\r\n(function (IdentityProviderType) {\r\n IdentityProviderType[\"RecoveryServicesActiveDirectory\"] = \"RecoveryServicesActiveDirectory\";\r\n})(IdentityProviderType || (IdentityProviderType = {}));\r\n/**\r\n * Defines values for AgentVersionStatus.\r\n * Possible values include: 'Supported', 'NotSupported', 'Deprecated',\r\n * 'UpdateRequired', 'SecurityUpdateRequired'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: AgentVersionStatus =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var AgentVersionStatus;\r\n(function (AgentVersionStatus) {\r\n AgentVersionStatus[\"Supported\"] = \"Supported\";\r\n AgentVersionStatus[\"NotSupported\"] = \"NotSupported\";\r\n AgentVersionStatus[\"Deprecated\"] = \"Deprecated\";\r\n AgentVersionStatus[\"UpdateRequired\"] = \"UpdateRequired\";\r\n AgentVersionStatus[\"SecurityUpdateRequired\"] = \"SecurityUpdateRequired\";\r\n})(AgentVersionStatus || (AgentVersionStatus = {}));\r\n/**\r\n * Defines values for RecoveryPointType.\r\n * Possible values include: 'LatestTime', 'LatestTag', 'Custom'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: RecoveryPointType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RecoveryPointType;\r\n(function (RecoveryPointType) {\r\n RecoveryPointType[\"LatestTime\"] = \"LatestTime\";\r\n RecoveryPointType[\"LatestTag\"] = \"LatestTag\";\r\n RecoveryPointType[\"Custom\"] = \"Custom\";\r\n})(RecoveryPointType || (RecoveryPointType = {}));\r\n/**\r\n * Defines values for MultiVmSyncStatus.\r\n * Possible values include: 'Enabled', 'Disabled'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: MultiVmSyncStatus =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var MultiVmSyncStatus;\r\n(function (MultiVmSyncStatus) {\r\n MultiVmSyncStatus[\"Enabled\"] = \"Enabled\";\r\n MultiVmSyncStatus[\"Disabled\"] = \"Disabled\";\r\n})(MultiVmSyncStatus || (MultiVmSyncStatus = {}));\r\n/**\r\n * Defines values for A2ARpRecoveryPointType.\r\n * Possible values include: 'Latest', 'LatestApplicationConsistent',\r\n * 'LatestCrashConsistent', 'LatestProcessed'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: A2ARpRecoveryPointType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var A2ARpRecoveryPointType;\r\n(function (A2ARpRecoveryPointType) {\r\n A2ARpRecoveryPointType[\"Latest\"] = \"Latest\";\r\n A2ARpRecoveryPointType[\"LatestApplicationConsistent\"] = \"LatestApplicationConsistent\";\r\n A2ARpRecoveryPointType[\"LatestCrashConsistent\"] = \"LatestCrashConsistent\";\r\n A2ARpRecoveryPointType[\"LatestProcessed\"] = \"LatestProcessed\";\r\n})(A2ARpRecoveryPointType || (A2ARpRecoveryPointType = {}));\r\n/**\r\n * Defines values for MultiVmSyncPointOption.\r\n * Possible values include: 'UseMultiVmSyncRecoveryPoint',\r\n * 'UsePerVmRecoveryPoint'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: MultiVmSyncPointOption =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var MultiVmSyncPointOption;\r\n(function (MultiVmSyncPointOption) {\r\n MultiVmSyncPointOption[\"UseMultiVmSyncRecoveryPoint\"] = \"UseMultiVmSyncRecoveryPoint\";\r\n MultiVmSyncPointOption[\"UsePerVmRecoveryPoint\"] = \"UsePerVmRecoveryPoint\";\r\n})(MultiVmSyncPointOption || (MultiVmSyncPointOption = {}));\r\n/**\r\n * Defines values for RecoveryPlanActionLocation.\r\n * Possible values include: 'Primary', 'Recovery'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: RecoveryPlanActionLocation =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RecoveryPlanActionLocation;\r\n(function (RecoveryPlanActionLocation) {\r\n RecoveryPlanActionLocation[\"Primary\"] = \"Primary\";\r\n RecoveryPlanActionLocation[\"Recovery\"] = \"Recovery\";\r\n})(RecoveryPlanActionLocation || (RecoveryPlanActionLocation = {}));\r\n/**\r\n * Defines values for DataSyncStatus.\r\n * Possible values include: 'ForDownTime', 'ForSynchronization'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: DataSyncStatus =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var DataSyncStatus;\r\n(function (DataSyncStatus) {\r\n DataSyncStatus[\"ForDownTime\"] = \"ForDownTime\";\r\n DataSyncStatus[\"ForSynchronization\"] = \"ForSynchronization\";\r\n})(DataSyncStatus || (DataSyncStatus = {}));\r\n/**\r\n * Defines values for AlternateLocationRecoveryOption.\r\n * Possible values include: 'CreateVmIfNotFound', 'NoAction'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: AlternateLocationRecoveryOption =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var AlternateLocationRecoveryOption;\r\n(function (AlternateLocationRecoveryOption) {\r\n AlternateLocationRecoveryOption[\"CreateVmIfNotFound\"] = \"CreateVmIfNotFound\";\r\n AlternateLocationRecoveryOption[\"NoAction\"] = \"NoAction\";\r\n})(AlternateLocationRecoveryOption || (AlternateLocationRecoveryOption = {}));\r\n/**\r\n * Defines values for HyperVReplicaAzureRpRecoveryPointType.\r\n * Possible values include: 'Latest', 'LatestApplicationConsistent',\r\n * 'LatestProcessed'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: HyperVReplicaAzureRpRecoveryPointType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var HyperVReplicaAzureRpRecoveryPointType;\r\n(function (HyperVReplicaAzureRpRecoveryPointType) {\r\n HyperVReplicaAzureRpRecoveryPointType[\"Latest\"] = \"Latest\";\r\n HyperVReplicaAzureRpRecoveryPointType[\"LatestApplicationConsistent\"] = \"LatestApplicationConsistent\";\r\n HyperVReplicaAzureRpRecoveryPointType[\"LatestProcessed\"] = \"LatestProcessed\";\r\n})(HyperVReplicaAzureRpRecoveryPointType || (HyperVReplicaAzureRpRecoveryPointType = {}));\r\n/**\r\n * Defines values for InMageV2RpRecoveryPointType.\r\n * Possible values include: 'Latest', 'LatestApplicationConsistent',\r\n * 'LatestCrashConsistent', 'LatestProcessed'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: InMageV2RpRecoveryPointType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var InMageV2RpRecoveryPointType;\r\n(function (InMageV2RpRecoveryPointType) {\r\n InMageV2RpRecoveryPointType[\"Latest\"] = \"Latest\";\r\n InMageV2RpRecoveryPointType[\"LatestApplicationConsistent\"] = \"LatestApplicationConsistent\";\r\n InMageV2RpRecoveryPointType[\"LatestCrashConsistent\"] = \"LatestCrashConsistent\";\r\n InMageV2RpRecoveryPointType[\"LatestProcessed\"] = \"LatestProcessed\";\r\n})(InMageV2RpRecoveryPointType || (InMageV2RpRecoveryPointType = {}));\r\n/**\r\n * Defines values for RpInMageRecoveryPointType.\r\n * Possible values include: 'LatestTime', 'LatestTag', 'Custom'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: RpInMageRecoveryPointType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var RpInMageRecoveryPointType;\r\n(function (RpInMageRecoveryPointType) {\r\n RpInMageRecoveryPointType[\"LatestTime\"] = \"LatestTime\";\r\n RpInMageRecoveryPointType[\"LatestTag\"] = \"LatestTag\";\r\n RpInMageRecoveryPointType[\"Custom\"] = \"Custom\";\r\n})(RpInMageRecoveryPointType || (RpInMageRecoveryPointType = {}));\r\n/**\r\n * Defines values for SourceSiteOperations.\r\n * Possible values include: 'Required', 'NotRequired'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: SourceSiteOperations =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var SourceSiteOperations;\r\n(function (SourceSiteOperations) {\r\n SourceSiteOperations[\"Required\"] = \"Required\";\r\n SourceSiteOperations[\"NotRequired\"] = \"NotRequired\";\r\n})(SourceSiteOperations || (SourceSiteOperations = {}));\r\n/**\r\n * Defines values for LicenseType.\r\n * Possible values include: 'NotSpecified', 'NoLicenseType', 'WindowsServer'\r\n * There could be more values for this enum apart from the ones defined here.If\r\n * you want to set a value that is not from the known values then you can do\r\n * the following:\r\n * let param: LicenseType =\r\n * \"someUnknownValueThatWillStillBeValid\";\r\n * @readonly\r\n * @enum {string}\r\n */\r\nexport var LicenseType;\r\n(function (LicenseType) {\r\n LicenseType[\"NotSpecified\"] = \"NotSpecified\";\r\n LicenseType[\"NoLicenseType\"] = \"NoLicenseType\";\r\n LicenseType[\"WindowsServer\"] = \"WindowsServer\";\r\n})(LicenseType || (LicenseType = {}));\r\n//# sourceMappingURL=index.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport { CloudErrorMapper, BaseResourceMapper } from \"ms-rest-azure-js\";\r\nexport var CloudError = CloudErrorMapper;\r\nexport var BaseResource = BaseResourceMapper;\r\nexport var ApplyRecoveryPointProviderSpecificInput = {\r\n serializedName: \"ApplyRecoveryPointProviderSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ApplyRecoveryPointProviderSpecificInput\",\r\n className: \"ApplyRecoveryPointProviderSpecificInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AApplyRecoveryPointInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"ApplyRecoveryPointProviderSpecificInput\",\r\n className: \"A2AApplyRecoveryPointInput\",\r\n modelProperties: tslib_1.__assign({}, ApplyRecoveryPointProviderSpecificInput.type.modelProperties)\r\n }\r\n};\r\nexport var ReplicationProviderSpecificContainerCreationInput = {\r\n serializedName: \"ReplicationProviderSpecificContainerCreationInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificContainerCreationInput\",\r\n className: \"ReplicationProviderSpecificContainerCreationInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AContainerCreationInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificContainerCreationInput.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificContainerCreationInput\",\r\n className: \"A2AContainerCreationInput\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificContainerCreationInput.type.modelProperties)\r\n }\r\n};\r\nexport var ReplicationProviderSpecificContainerMappingInput = {\r\n serializedName: \"ReplicationProviderSpecificContainerMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificContainerMappingInput\",\r\n className: \"ReplicationProviderSpecificContainerMappingInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AContainerMappingInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificContainerMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificContainerMappingInput\",\r\n className: \"A2AContainerMappingInput\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificContainerMappingInput.type.modelProperties, { agentAutoUpdateStatus: {\r\n serializedName: \"agentAutoUpdateStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, automationAccountArmId: {\r\n serializedName: \"automationAccountArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var A2AVmDiskInputDetails = {\r\n serializedName: \"A2AVmDiskInputDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmDiskInputDetails\",\r\n modelProperties: {\r\n diskUri: {\r\n serializedName: \"diskUri\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryAzureStorageAccountId: {\r\n serializedName: \"recoveryAzureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryStagingAzureStorageAccountId: {\r\n serializedName: \"primaryStagingAzureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AVmManagedDiskInputDetails = {\r\n serializedName: \"A2AVmManagedDiskInputDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmManagedDiskInputDetails\",\r\n modelProperties: {\r\n diskId: {\r\n serializedName: \"diskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryStagingAzureStorageAccountId: {\r\n serializedName: \"primaryStagingAzureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryResourceGroupId: {\r\n serializedName: \"recoveryResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryReplicaDiskAccountType: {\r\n serializedName: \"recoveryReplicaDiskAccountType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryTargetDiskAccountType: {\r\n serializedName: \"recoveryTargetDiskAccountType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiskEncryptionKeyInfo = {\r\n serializedName: \"DiskEncryptionKeyInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskEncryptionKeyInfo\",\r\n modelProperties: {\r\n secretIdentifier: {\r\n serializedName: \"secretIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n keyVaultResourceArmId: {\r\n serializedName: \"keyVaultResourceArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var KeyEncryptionKeyInfo = {\r\n serializedName: \"KeyEncryptionKeyInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"KeyEncryptionKeyInfo\",\r\n modelProperties: {\r\n keyIdentifier: {\r\n serializedName: \"keyIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n keyVaultResourceArmId: {\r\n serializedName: \"keyVaultResourceArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiskEncryptionInfo = {\r\n serializedName: \"DiskEncryptionInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskEncryptionInfo\",\r\n modelProperties: {\r\n diskEncryptionKeyInfo: {\r\n serializedName: \"diskEncryptionKeyInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskEncryptionKeyInfo\"\r\n }\r\n },\r\n keyEncryptionKeyInfo: {\r\n serializedName: \"keyEncryptionKeyInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"KeyEncryptionKeyInfo\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EnableProtectionProviderSpecificInput = {\r\n serializedName: \"EnableProtectionProviderSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"EnableProtectionProviderSpecificInput\",\r\n className: \"EnableProtectionProviderSpecificInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AEnableProtectionInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"EnableProtectionProviderSpecificInput\",\r\n className: \"A2AEnableProtectionInput\",\r\n modelProperties: tslib_1.__assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { fabricObjectId: {\r\n serializedName: \"fabricObjectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryContainerId: {\r\n serializedName: \"recoveryContainerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryResourceGroupId: {\r\n serializedName: \"recoveryResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryCloudServiceId: {\r\n serializedName: \"recoveryCloudServiceId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAvailabilitySetId: {\r\n serializedName: \"recoveryAvailabilitySetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmDisks: {\r\n serializedName: \"vmDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmDiskInputDetails\"\r\n }\r\n }\r\n }\r\n }, vmManagedDisks: {\r\n serializedName: \"vmManagedDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmManagedDiskInputDetails\"\r\n }\r\n }\r\n }\r\n }, multiVmGroupName: {\r\n serializedName: \"multiVmGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryBootDiagStorageAccountId: {\r\n serializedName: \"recoveryBootDiagStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, diskEncryptionInfo: {\r\n serializedName: \"diskEncryptionInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskEncryptionInfo\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var EventProviderSpecificDetails = {\r\n serializedName: \"EventProviderSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"EventProviderSpecificDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AEventDetails = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"A2AEventDetails\",\r\n modelProperties: tslib_1.__assign({}, EventProviderSpecificDetails.type.modelProperties, { protectedItemName: {\r\n serializedName: \"protectedItemName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricObjectId: {\r\n serializedName: \"fabricObjectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricName: {\r\n serializedName: \"fabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricLocation: {\r\n serializedName: \"fabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteFabricName: {\r\n serializedName: \"remoteFabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteFabricLocation: {\r\n serializedName: \"remoteFabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ProviderSpecificFailoverInput = {\r\n serializedName: \"ProviderSpecificFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"ProviderSpecificFailoverInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AFailoverProviderInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"A2AFailoverProviderInput\",\r\n modelProperties: tslib_1.__assign({}, ProviderSpecificFailoverInput.type.modelProperties, { recoveryPointId: {\r\n serializedName: \"recoveryPointId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, cloudServiceCreationOption: {\r\n serializedName: \"cloudServiceCreationOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var PolicyProviderSpecificInput = {\r\n serializedName: \"PolicyProviderSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"PolicyProviderSpecificInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2APolicyCreationInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"A2APolicyCreationInput\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, crashConsistentFrequencyInMinutes: {\r\n serializedName: \"crashConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n required: true,\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var PolicyProviderSpecificDetails = {\r\n serializedName: \"PolicyProviderSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"PolicyProviderSpecificDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2APolicyDetails = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"A2APolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, crashConsistentFrequencyInMinutes: {\r\n serializedName: \"crashConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var A2AProtectedDiskDetails = {\r\n serializedName: \"A2AProtectedDiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AProtectedDiskDetails\",\r\n modelProperties: {\r\n diskUri: {\r\n serializedName: \"diskUri\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryAzureStorageAccountId: {\r\n serializedName: \"recoveryAzureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryDiskAzureStorageAccountId: {\r\n serializedName: \"primaryDiskAzureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryDiskUri: {\r\n serializedName: \"recoveryDiskUri\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskName: {\r\n serializedName: \"diskName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskCapacityInBytes: {\r\n serializedName: \"diskCapacityInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n primaryStagingAzureStorageAccountId: {\r\n serializedName: \"primaryStagingAzureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskType: {\r\n serializedName: \"diskType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resyncRequired: {\r\n serializedName: \"resyncRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n monitoringPercentageCompletion: {\r\n serializedName: \"monitoringPercentageCompletion\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n monitoringJobType: {\r\n serializedName: \"monitoringJobType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n dataPendingInStagingStorageAccountInMB: {\r\n serializedName: \"dataPendingInStagingStorageAccountInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n dataPendingAtSourceAgentInMB: {\r\n serializedName: \"dataPendingAtSourceAgentInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n isDiskEncrypted: {\r\n serializedName: \"isDiskEncrypted\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n secretIdentifier: {\r\n serializedName: \"secretIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n dekKeyVaultArmId: {\r\n serializedName: \"dekKeyVaultArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isDiskKeyEncrypted: {\r\n serializedName: \"isDiskKeyEncrypted\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n keyIdentifier: {\r\n serializedName: \"keyIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n kekKeyVaultArmId: {\r\n serializedName: \"kekKeyVaultArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AProtectedManagedDiskDetails = {\r\n serializedName: \"A2AProtectedManagedDiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AProtectedManagedDiskDetails\",\r\n modelProperties: {\r\n diskId: {\r\n serializedName: \"diskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryResourceGroupId: {\r\n serializedName: \"recoveryResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryTargetDiskId: {\r\n serializedName: \"recoveryTargetDiskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryReplicaDiskId: {\r\n serializedName: \"recoveryReplicaDiskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryReplicaDiskAccountType: {\r\n serializedName: \"recoveryReplicaDiskAccountType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryTargetDiskAccountType: {\r\n serializedName: \"recoveryTargetDiskAccountType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskName: {\r\n serializedName: \"diskName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskCapacityInBytes: {\r\n serializedName: \"diskCapacityInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n primaryStagingAzureStorageAccountId: {\r\n serializedName: \"primaryStagingAzureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskType: {\r\n serializedName: \"diskType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resyncRequired: {\r\n serializedName: \"resyncRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n monitoringPercentageCompletion: {\r\n serializedName: \"monitoringPercentageCompletion\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n monitoringJobType: {\r\n serializedName: \"monitoringJobType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n dataPendingInStagingStorageAccountInMB: {\r\n serializedName: \"dataPendingInStagingStorageAccountInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n dataPendingAtSourceAgentInMB: {\r\n serializedName: \"dataPendingAtSourceAgentInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n isDiskEncrypted: {\r\n serializedName: \"isDiskEncrypted\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n secretIdentifier: {\r\n serializedName: \"secretIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n dekKeyVaultArmId: {\r\n serializedName: \"dekKeyVaultArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n isDiskKeyEncrypted: {\r\n serializedName: \"isDiskKeyEncrypted\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n },\r\n keyIdentifier: {\r\n serializedName: \"keyIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n kekKeyVaultArmId: {\r\n serializedName: \"kekKeyVaultArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectionContainerMappingProviderSpecificDetails = {\r\n serializedName: \"ProtectionContainerMappingProviderSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProtectionContainerMappingProviderSpecificDetails\",\r\n className: \"ProtectionContainerMappingProviderSpecificDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AProtectionContainerMappingDetails = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProtectionContainerMappingProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"ProtectionContainerMappingProviderSpecificDetails\",\r\n className: \"A2AProtectionContainerMappingDetails\",\r\n modelProperties: tslib_1.__assign({}, ProtectionContainerMappingProviderSpecificDetails.type.modelProperties, { agentAutoUpdateStatus: {\r\n serializedName: \"agentAutoUpdateStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, automationAccountArmId: {\r\n serializedName: \"automationAccountArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, scheduleName: {\r\n serializedName: \"scheduleName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, jobScheduleName: {\r\n serializedName: \"jobScheduleName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ProviderSpecificRecoveryPointDetails = {\r\n serializedName: \"ProviderSpecificRecoveryPointDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProviderSpecificRecoveryPointDetails\",\r\n className: \"ProviderSpecificRecoveryPointDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2ARecoveryPointDetails = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator,\r\n uberParent: \"ProviderSpecificRecoveryPointDetails\",\r\n className: \"A2ARecoveryPointDetails\",\r\n modelProperties: tslib_1.__assign({}, ProviderSpecificRecoveryPointDetails.type.modelProperties, { recoveryPointSyncType: {\r\n serializedName: \"recoveryPointSyncType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VMNicDetails = {\r\n serializedName: \"VMNicDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\",\r\n modelProperties: {\r\n nicId: {\r\n serializedName: \"nicId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicaNicId: {\r\n serializedName: \"replicaNicId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sourceNicArmId: {\r\n serializedName: \"sourceNicArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vMSubnetName: {\r\n serializedName: \"vMSubnetName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vMNetworkName: {\r\n serializedName: \"vMNetworkName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryVMNetworkId: {\r\n serializedName: \"recoveryVMNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryVMSubnetName: {\r\n serializedName: \"recoveryVMSubnetName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddressType: {\r\n serializedName: \"ipAddressType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryNicStaticIPAddress: {\r\n serializedName: \"primaryNicStaticIPAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicaNicStaticIPAddress: {\r\n serializedName: \"replicaNicStaticIPAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n selectionType: {\r\n serializedName: \"selectionType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryNicIpAddressType: {\r\n serializedName: \"recoveryNicIpAddressType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n enableAcceleratedNetworkingOnRecovery: {\r\n serializedName: \"enableAcceleratedNetworkingOnRecovery\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RoleAssignment = {\r\n serializedName: \"RoleAssignment\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RoleAssignment\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n scope: {\r\n serializedName: \"scope\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n principalId: {\r\n serializedName: \"principalId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n roleDefinitionId: {\r\n serializedName: \"roleDefinitionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InputEndpoint = {\r\n serializedName: \"InputEndpoint\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InputEndpoint\",\r\n modelProperties: {\r\n endpointName: {\r\n serializedName: \"endpointName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n privatePort: {\r\n serializedName: \"privatePort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n publicPort: {\r\n serializedName: \"publicPort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n protocol: {\r\n serializedName: \"protocol\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AzureToAzureVmSyncedConfigDetails = {\r\n serializedName: \"AzureToAzureVmSyncedConfigDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AzureToAzureVmSyncedConfigDetails\",\r\n modelProperties: {\r\n tags: {\r\n serializedName: \"tags\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n roleAssignments: {\r\n serializedName: \"roleAssignments\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RoleAssignment\"\r\n }\r\n }\r\n }\r\n },\r\n inputEndpoints: {\r\n serializedName: \"inputEndpoints\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InputEndpoint\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReplicationProviderSpecificSettings = {\r\n serializedName: \"ReplicationProviderSpecificSettings\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"ReplicationProviderSpecificSettings\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AReplicationDetails = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"A2AReplicationDetails\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { fabricObjectId: {\r\n serializedName: \"fabricObjectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupId: {\r\n serializedName: \"multiVmGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupName: {\r\n serializedName: \"multiVmGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupCreateOption: {\r\n serializedName: \"multiVmGroupCreateOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, managementId: {\r\n serializedName: \"managementId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protectedDisks: {\r\n serializedName: \"protectedDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AProtectedDiskDetails\"\r\n }\r\n }\r\n }\r\n }, protectedManagedDisks: {\r\n serializedName: \"protectedManagedDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AProtectedManagedDiskDetails\"\r\n }\r\n }\r\n }\r\n }, recoveryBootDiagStorageAccountId: {\r\n serializedName: \"recoveryBootDiagStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, primaryFabricLocation: {\r\n serializedName: \"primaryFabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryFabricLocation: {\r\n serializedName: \"recoveryFabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureVMSize: {\r\n serializedName: \"recoveryAzureVMSize\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureVMName: {\r\n serializedName: \"recoveryAzureVMName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureResourceGroupId: {\r\n serializedName: \"recoveryAzureResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryCloudService: {\r\n serializedName: \"recoveryCloudService\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAvailabilitySet: {\r\n serializedName: \"recoveryAvailabilitySet\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, selectedRecoveryAzureNetworkId: {\r\n serializedName: \"selectedRecoveryAzureNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\"\r\n }\r\n }\r\n }\r\n }, vmSyncedConfigDetails: {\r\n serializedName: \"vmSyncedConfigDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AzureToAzureVmSyncedConfigDetails\"\r\n }\r\n }, monitoringPercentageCompletion: {\r\n serializedName: \"monitoringPercentageCompletion\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, monitoringJobType: {\r\n serializedName: \"monitoringJobType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, lastHeartbeat: {\r\n serializedName: \"lastHeartbeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, agentVersion: {\r\n serializedName: \"agentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, isReplicationAgentUpdateRequired: {\r\n serializedName: \"isReplicationAgentUpdateRequired\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }, recoveryFabricObjectId: {\r\n serializedName: \"recoveryFabricObjectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionState: {\r\n serializedName: \"vmProtectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionStateDescription: {\r\n serializedName: \"vmProtectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, lifecycleId: {\r\n serializedName: \"lifecycleId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, testFailoverRecoveryFabricObjectId: {\r\n serializedName: \"testFailoverRecoveryFabricObjectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, rpoInSeconds: {\r\n serializedName: \"rpoInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, lastRpoCalculatedTime: {\r\n serializedName: \"lastRpoCalculatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ReverseReplicationProviderSpecificInput = {\r\n serializedName: \"ReverseReplicationProviderSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReverseReplicationProviderSpecificInput\",\r\n className: \"ReverseReplicationProviderSpecificInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AReprotectInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"ReverseReplicationProviderSpecificInput\",\r\n className: \"A2AReprotectInput\",\r\n modelProperties: tslib_1.__assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { recoveryContainerId: {\r\n serializedName: \"recoveryContainerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmDisks: {\r\n serializedName: \"vmDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmDiskInputDetails\"\r\n }\r\n }\r\n }\r\n }, recoveryResourceGroupId: {\r\n serializedName: \"recoveryResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryCloudServiceId: {\r\n serializedName: \"recoveryCloudServiceId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAvailabilitySetId: {\r\n serializedName: \"recoveryAvailabilitySetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, policyId: {\r\n serializedName: \"policyId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var SwitchProtectionProviderSpecificInput = {\r\n serializedName: \"SwitchProtectionProviderSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"SwitchProtectionProviderSpecificInput\",\r\n className: \"SwitchProtectionProviderSpecificInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2ASwitchProtectionInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: SwitchProtectionProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"SwitchProtectionProviderSpecificInput\",\r\n className: \"A2ASwitchProtectionInput\",\r\n modelProperties: tslib_1.__assign({}, SwitchProtectionProviderSpecificInput.type.modelProperties, { recoveryContainerId: {\r\n serializedName: \"recoveryContainerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmDisks: {\r\n serializedName: \"vmDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmDiskInputDetails\"\r\n }\r\n }\r\n }\r\n }, vmManagedDisks: {\r\n serializedName: \"vmManagedDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmManagedDiskInputDetails\"\r\n }\r\n }\r\n }\r\n }, recoveryResourceGroupId: {\r\n serializedName: \"recoveryResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryCloudServiceId: {\r\n serializedName: \"recoveryCloudServiceId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAvailabilitySetId: {\r\n serializedName: \"recoveryAvailabilitySetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, policyId: {\r\n serializedName: \"policyId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryBootDiagStorageAccountId: {\r\n serializedName: \"recoveryBootDiagStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, diskEncryptionInfo: {\r\n serializedName: \"diskEncryptionInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskEncryptionInfo\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ReplicationProviderSpecificUpdateContainerMappingInput = {\r\n serializedName: \"ReplicationProviderSpecificUpdateContainerMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificUpdateContainerMappingInput\",\r\n className: \"ReplicationProviderSpecificUpdateContainerMappingInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AUpdateContainerMappingInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificUpdateContainerMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificUpdateContainerMappingInput\",\r\n className: \"A2AUpdateContainerMappingInput\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificUpdateContainerMappingInput.type.modelProperties, { agentAutoUpdateStatus: {\r\n serializedName: \"agentAutoUpdateStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, automationAccountArmId: {\r\n serializedName: \"automationAccountArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var A2AVmManagedDiskUpdateDetails = {\r\n serializedName: \"A2AVmManagedDiskUpdateDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmManagedDiskUpdateDetails\",\r\n modelProperties: {\r\n diskId: {\r\n serializedName: \"diskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryTargetDiskAccountType: {\r\n serializedName: \"recoveryTargetDiskAccountType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryReplicaDiskAccountType: {\r\n serializedName: \"recoveryReplicaDiskAccountType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateReplicationProtectedItemProviderInput = {\r\n serializedName: \"UpdateReplicationProtectedItemProviderInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"UpdateReplicationProtectedItemProviderInput\",\r\n className: \"UpdateReplicationProtectedItemProviderInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var A2AUpdateReplicationProtectedItemInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator,\r\n uberParent: \"UpdateReplicationProtectedItemProviderInput\",\r\n className: \"A2AUpdateReplicationProtectedItemInput\",\r\n modelProperties: tslib_1.__assign({}, UpdateReplicationProtectedItemProviderInput.type.modelProperties, { recoveryCloudServiceId: {\r\n serializedName: \"recoveryCloudServiceId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryResourceGroupId: {\r\n serializedName: \"recoveryResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, managedDiskUpdateDetails: {\r\n serializedName: \"managedDiskUpdateDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"A2AVmManagedDiskUpdateDetails\"\r\n }\r\n }\r\n }\r\n }, recoveryBootDiagStorageAccountId: {\r\n serializedName: \"recoveryBootDiagStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, diskEncryptionInfo: {\r\n serializedName: \"diskEncryptionInfo\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskEncryptionInfo\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var AddVCenterRequestProperties = {\r\n serializedName: \"AddVCenterRequestProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AddVCenterRequestProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n processServerId: {\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n port: {\r\n serializedName: \"port\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AddVCenterRequest = {\r\n serializedName: \"AddVCenterRequest\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AddVCenterRequest\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AddVCenterRequestProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AlertProperties = {\r\n serializedName: \"AlertProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AlertProperties\",\r\n modelProperties: {\r\n sendToOwners: {\r\n serializedName: \"sendToOwners\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n customEmailAddresses: {\r\n serializedName: \"customEmailAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n locale: {\r\n serializedName: \"locale\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Resource = {\r\n serializedName: \"Resource\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Resource\",\r\n modelProperties: {\r\n id: {\r\n readOnly: true,\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n readOnly: true,\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n readOnly: true,\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n location: {\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Alert = {\r\n serializedName: \"Alert\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Alert\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AlertProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ApplyRecoveryPointInputProperties = {\r\n serializedName: \"ApplyRecoveryPointInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApplyRecoveryPointInputProperties\",\r\n modelProperties: {\r\n recoveryPointId: {\r\n serializedName: \"recoveryPointId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ApplyRecoveryPointProviderSpecificInput\",\r\n className: \"ApplyRecoveryPointProviderSpecificInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ApplyRecoveryPointInput = {\r\n serializedName: \"ApplyRecoveryPointInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApplyRecoveryPointInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ApplyRecoveryPointInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobDetails = {\r\n serializedName: \"JobDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"JobDetails\",\r\n className: \"JobDetails\",\r\n modelProperties: {\r\n affectedObjectDetails: {\r\n serializedName: \"affectedObjectDetails\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AsrJobDetails = {\r\n serializedName: \"AsrJobDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,\r\n uberParent: \"JobDetails\",\r\n className: \"AsrJobDetails\",\r\n modelProperties: tslib_1.__assign({}, JobDetails.type.modelProperties)\r\n }\r\n};\r\nexport var TaskTypeDetails = {\r\n serializedName: \"TaskTypeDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"TaskTypeDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var GroupTaskDetails = {\r\n serializedName: \"GroupTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"GroupTaskDetails\",\r\n className: \"GroupTaskDetails\",\r\n modelProperties: {\r\n childTasks: {\r\n serializedName: \"childTasks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ASRTask\"\r\n }\r\n }\r\n }\r\n },\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ServiceError = {\r\n serializedName: \"ServiceError\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceError\",\r\n modelProperties: {\r\n code: {\r\n serializedName: \"code\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n message: {\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n possibleCauses: {\r\n serializedName: \"possibleCauses\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recommendedAction: {\r\n serializedName: \"recommendedAction\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n activityId: {\r\n serializedName: \"activityId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProviderError = {\r\n serializedName: \"ProviderError\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProviderError\",\r\n modelProperties: {\r\n errorCode: {\r\n serializedName: \"errorCode\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n errorMessage: {\r\n serializedName: \"errorMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorId: {\r\n serializedName: \"errorId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n possibleCauses: {\r\n serializedName: \"possibleCauses\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recommendedAction: {\r\n serializedName: \"recommendedAction\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobErrorDetails = {\r\n serializedName: \"JobErrorDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobErrorDetails\",\r\n modelProperties: {\r\n serviceErrorDetails: {\r\n serializedName: \"serviceErrorDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ServiceError\"\r\n }\r\n },\r\n providerErrorDetails: {\r\n serializedName: \"providerErrorDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProviderError\"\r\n }\r\n },\r\n errorLevel: {\r\n serializedName: \"errorLevel\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n creationTime: {\r\n serializedName: \"creationTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n taskId: {\r\n serializedName: \"taskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ASRTask = {\r\n serializedName: \"ASRTask\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ASRTask\",\r\n modelProperties: {\r\n taskId: {\r\n serializedName: \"taskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n startTime: {\r\n serializedName: \"startTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n endTime: {\r\n serializedName: \"endTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n allowedActions: {\r\n serializedName: \"allowedActions\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n stateDescription: {\r\n serializedName: \"stateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n taskType: {\r\n serializedName: \"taskType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n customDetails: {\r\n serializedName: \"customDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"TaskTypeDetails\"\r\n }\r\n },\r\n groupTaskCustomDetails: {\r\n serializedName: \"groupTaskCustomDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"GroupTaskDetails\",\r\n className: \"GroupTaskDetails\"\r\n }\r\n },\r\n errors: {\r\n serializedName: \"errors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobErrorDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AutomationRunbookTaskDetails = {\r\n serializedName: \"AutomationRunbookTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"AutomationRunbookTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, cloudServiceName: {\r\n serializedName: \"cloudServiceName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, subscriptionId: {\r\n serializedName: \"subscriptionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, accountName: {\r\n serializedName: \"accountName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, runbookId: {\r\n serializedName: \"runbookId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, runbookName: {\r\n serializedName: \"runbookName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, jobId: {\r\n serializedName: \"jobId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, jobOutput: {\r\n serializedName: \"jobOutput\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, isPrimarySideScript: {\r\n serializedName: \"isPrimarySideScript\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var FabricSpecificCreationInput = {\r\n serializedName: \"FabricSpecificCreationInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificCreationInput\",\r\n className: \"FabricSpecificCreationInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AzureFabricCreationInput = {\r\n serializedName: \"Azure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificCreationInput\",\r\n className: \"AzureFabricCreationInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificCreationInput.type.modelProperties, { location: {\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var FabricSpecificDetails = {\r\n serializedName: \"FabricSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificDetails\",\r\n className: \"FabricSpecificDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AzureFabricSpecificDetails = {\r\n serializedName: \"Azure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificDetails\",\r\n className: \"AzureFabricSpecificDetails\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificDetails.type.modelProperties, { location: {\r\n serializedName: \"location\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, containerIds: {\r\n serializedName: \"containerIds\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var FabricSpecificCreateNetworkMappingInput = {\r\n serializedName: \"FabricSpecificCreateNetworkMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificCreateNetworkMappingInput\",\r\n className: \"FabricSpecificCreateNetworkMappingInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AzureToAzureCreateNetworkMappingInput = {\r\n serializedName: \"AzureToAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificCreateNetworkMappingInput\",\r\n className: \"AzureToAzureCreateNetworkMappingInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificCreateNetworkMappingInput.type.modelProperties, { primaryNetworkId: {\r\n serializedName: \"primaryNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var NetworkMappingFabricSpecificSettings = {\r\n serializedName: \"NetworkMappingFabricSpecificSettings\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"NetworkMappingFabricSpecificSettings\",\r\n className: \"NetworkMappingFabricSpecificSettings\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AzureToAzureNetworkMappingSettings = {\r\n serializedName: \"AzureToAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"NetworkMappingFabricSpecificSettings\",\r\n className: \"AzureToAzureNetworkMappingSettings\",\r\n modelProperties: tslib_1.__assign({}, NetworkMappingFabricSpecificSettings.type.modelProperties, { primaryFabricLocation: {\r\n serializedName: \"primaryFabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryFabricLocation: {\r\n serializedName: \"recoveryFabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var FabricSpecificUpdateNetworkMappingInput = {\r\n serializedName: \"FabricSpecificUpdateNetworkMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificUpdateNetworkMappingInput\",\r\n className: \"FabricSpecificUpdateNetworkMappingInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AzureToAzureUpdateNetworkMappingInput = {\r\n serializedName: \"AzureToAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificUpdateNetworkMappingInput\",\r\n className: \"AzureToAzureUpdateNetworkMappingInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificUpdateNetworkMappingInput.type.modelProperties, { primaryNetworkId: {\r\n serializedName: \"primaryNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var AzureVmDiskDetails = {\r\n serializedName: \"AzureVmDiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AzureVmDiskDetails\",\r\n modelProperties: {\r\n vhdType: {\r\n serializedName: \"vhdType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vhdId: {\r\n serializedName: \"vhdId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vhdName: {\r\n serializedName: \"vhdName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n maxSizeMB: {\r\n serializedName: \"maxSizeMB\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetDiskLocation: {\r\n serializedName: \"targetDiskLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetDiskName: {\r\n serializedName: \"targetDiskName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lunId: {\r\n serializedName: \"lunId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ComputeSizeErrorDetails = {\r\n serializedName: \"ComputeSizeErrorDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ComputeSizeErrorDetails\",\r\n modelProperties: {\r\n message: {\r\n serializedName: \"message\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n severity: {\r\n serializedName: \"severity\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ConfigurationSettings = {\r\n serializedName: \"ConfigurationSettings\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ConfigurationSettings\",\r\n className: \"ConfigurationSettings\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ConfigureAlertRequestProperties = {\r\n serializedName: \"ConfigureAlertRequestProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ConfigureAlertRequestProperties\",\r\n modelProperties: {\r\n sendToOwners: {\r\n serializedName: \"sendToOwners\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n customEmailAddresses: {\r\n serializedName: \"customEmailAddresses\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n locale: {\r\n serializedName: \"locale\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ConfigureAlertRequest = {\r\n serializedName: \"ConfigureAlertRequest\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ConfigureAlertRequest\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ConfigureAlertRequestProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InconsistentVmDetails = {\r\n serializedName: \"InconsistentVmDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InconsistentVmDetails\",\r\n modelProperties: {\r\n vmName: {\r\n serializedName: \"vmName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n cloudName: {\r\n serializedName: \"cloudName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n details: {\r\n serializedName: \"details\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n errorIds: {\r\n serializedName: \"errorIds\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ConsistencyCheckTaskDetails = {\r\n serializedName: \"ConsistencyCheckTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"ConsistencyCheckTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { vmDetails: {\r\n serializedName: \"vmDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InconsistentVmDetails\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var CreateNetworkMappingInputProperties = {\r\n serializedName: \"CreateNetworkMappingInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateNetworkMappingInputProperties\",\r\n modelProperties: {\r\n recoveryFabricName: {\r\n serializedName: \"recoveryFabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryNetworkId: {\r\n serializedName: \"recoveryNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricSpecificDetails: {\r\n serializedName: \"fabricSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificCreateNetworkMappingInput\",\r\n className: \"FabricSpecificCreateNetworkMappingInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreateNetworkMappingInput = {\r\n serializedName: \"CreateNetworkMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateNetworkMappingInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateNetworkMappingInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreatePolicyInputProperties = {\r\n serializedName: \"CreatePolicyInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreatePolicyInputProperties\",\r\n modelProperties: {\r\n providerSpecificInput: {\r\n serializedName: \"providerSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"PolicyProviderSpecificInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreatePolicyInput = {\r\n serializedName: \"CreatePolicyInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreatePolicyInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreatePolicyInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreateProtectionContainerInputProperties = {\r\n serializedName: \"CreateProtectionContainerInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateProtectionContainerInputProperties\",\r\n modelProperties: {\r\n providerSpecificInput: {\r\n serializedName: \"providerSpecificInput\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificContainerCreationInput\",\r\n className: \"ReplicationProviderSpecificContainerCreationInput\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreateProtectionContainerInput = {\r\n serializedName: \"CreateProtectionContainerInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateProtectionContainerInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateProtectionContainerInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreateProtectionContainerMappingInputProperties = {\r\n serializedName: \"CreateProtectionContainerMappingInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateProtectionContainerMappingInputProperties\",\r\n modelProperties: {\r\n targetProtectionContainerId: {\r\n serializedName: \"targetProtectionContainerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n policyId: {\r\n serializedName: \"policyId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificInput: {\r\n serializedName: \"providerSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificContainerMappingInput\",\r\n className: \"ReplicationProviderSpecificContainerMappingInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreateProtectionContainerMappingInput = {\r\n serializedName: \"CreateProtectionContainerMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateProtectionContainerMappingInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateProtectionContainerMappingInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanProtectedItem = {\r\n serializedName: \"RecoveryPlanProtectedItem\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanProtectedItem\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n virtualMachineId: {\r\n serializedName: \"virtualMachineId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanActionDetails = {\r\n serializedName: \"RecoveryPlanActionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"RecoveryPlanActionDetails\",\r\n className: \"RecoveryPlanActionDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanAction = {\r\n serializedName: \"RecoveryPlanAction\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanAction\",\r\n modelProperties: {\r\n actionName: {\r\n required: true,\r\n serializedName: \"actionName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n failoverTypes: {\r\n required: true,\r\n serializedName: \"failoverTypes\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n failoverDirections: {\r\n required: true,\r\n serializedName: \"failoverDirections\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n customDetails: {\r\n required: true,\r\n serializedName: \"customDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"RecoveryPlanActionDetails\",\r\n className: \"RecoveryPlanActionDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanGroup = {\r\n serializedName: \"RecoveryPlanGroup\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanGroup\",\r\n modelProperties: {\r\n groupType: {\r\n required: true,\r\n serializedName: \"groupType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicationProtectedItems: {\r\n serializedName: \"replicationProtectedItems\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanProtectedItem\"\r\n }\r\n }\r\n }\r\n },\r\n startGroupActions: {\r\n serializedName: \"startGroupActions\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanAction\"\r\n }\r\n }\r\n }\r\n },\r\n endGroupActions: {\r\n serializedName: \"endGroupActions\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanAction\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreateRecoveryPlanInputProperties = {\r\n serializedName: \"CreateRecoveryPlanInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateRecoveryPlanInputProperties\",\r\n modelProperties: {\r\n primaryFabricId: {\r\n required: true,\r\n serializedName: \"primaryFabricId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryFabricId: {\r\n required: true,\r\n serializedName: \"recoveryFabricId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n failoverDeploymentModel: {\r\n serializedName: \"failoverDeploymentModel\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n groups: {\r\n required: true,\r\n serializedName: \"groups\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanGroup\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CreateRecoveryPlanInput = {\r\n serializedName: \"CreateRecoveryPlanInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateRecoveryPlanInput\",\r\n modelProperties: {\r\n properties: {\r\n required: true,\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CreateRecoveryPlanInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var CurrentScenarioDetails = {\r\n serializedName: \"CurrentScenarioDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CurrentScenarioDetails\",\r\n modelProperties: {\r\n scenarioName: {\r\n serializedName: \"scenarioName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n jobId: {\r\n serializedName: \"jobId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n startTime: {\r\n serializedName: \"startTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DataStore = {\r\n serializedName: \"DataStore\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DataStore\",\r\n modelProperties: {\r\n symbolicName: {\r\n serializedName: \"symbolicName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n uuid: {\r\n serializedName: \"uuid\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n capacity: {\r\n serializedName: \"capacity\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n freeSpace: {\r\n serializedName: \"freeSpace\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DisableProtectionProviderSpecificInput = {\r\n serializedName: \"DisableProtectionProviderSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"DisableProtectionProviderSpecificInput\",\r\n className: \"DisableProtectionProviderSpecificInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DisableProtectionInputProperties = {\r\n serializedName: \"DisableProtectionInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DisableProtectionInputProperties\",\r\n modelProperties: {\r\n disableProtectionReason: {\r\n serializedName: \"disableProtectionReason\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicationProviderInput: {\r\n serializedName: \"replicationProviderInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"DisableProtectionProviderSpecificInput\",\r\n className: \"DisableProtectionProviderSpecificInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DisableProtectionInput = {\r\n serializedName: \"DisableProtectionInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DisableProtectionInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DisableProtectionInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiscoverProtectableItemRequestProperties = {\r\n serializedName: \"DiscoverProtectableItemRequestProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiscoverProtectableItemRequestProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiscoverProtectableItemRequest = {\r\n serializedName: \"DiscoverProtectableItemRequest\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiscoverProtectableItemRequest\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiscoverProtectableItemRequestProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiskDetails = {\r\n serializedName: \"DiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskDetails\",\r\n modelProperties: {\r\n maxSizeMB: {\r\n serializedName: \"maxSizeMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n vhdType: {\r\n serializedName: \"vhdType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vhdId: {\r\n serializedName: \"vhdId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vhdName: {\r\n serializedName: \"vhdName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var DiskVolumeDetails = {\r\n serializedName: \"DiskVolumeDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskVolumeDetails\",\r\n modelProperties: {\r\n label: {\r\n serializedName: \"label\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Display = {\r\n serializedName: \"Display\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Display\",\r\n modelProperties: {\r\n provider: {\r\n serializedName: \"provider\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resource: {\r\n serializedName: \"resource\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n operation: {\r\n serializedName: \"operation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EnableProtectionInputProperties = {\r\n serializedName: \"EnableProtectionInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EnableProtectionInputProperties\",\r\n modelProperties: {\r\n policyId: {\r\n serializedName: \"policyId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectableItemId: {\r\n serializedName: \"protectableItemId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"EnableProtectionProviderSpecificInput\",\r\n className: \"EnableProtectionProviderSpecificInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EnableProtectionInput = {\r\n serializedName: \"EnableProtectionInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EnableProtectionInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EnableProtectionInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EncryptionDetails = {\r\n serializedName: \"EncryptionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EncryptionDetails\",\r\n modelProperties: {\r\n kekState: {\r\n serializedName: \"kekState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n kekCertThumbprint: {\r\n serializedName: \"kekCertThumbprint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n kekCertExpiryDate: {\r\n serializedName: \"kekCertExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EventSpecificDetails = {\r\n serializedName: \"EventSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"EventSpecificDetails\",\r\n className: \"EventSpecificDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InnerHealthError = {\r\n serializedName: \"InnerHealthError\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InnerHealthError\",\r\n modelProperties: {\r\n errorSource: {\r\n serializedName: \"errorSource\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorType: {\r\n serializedName: \"errorType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorLevel: {\r\n serializedName: \"errorLevel\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorCategory: {\r\n serializedName: \"errorCategory\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorCode: {\r\n serializedName: \"errorCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n summaryMessage: {\r\n serializedName: \"summaryMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorMessage: {\r\n serializedName: \"errorMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n possibleCauses: {\r\n serializedName: \"possibleCauses\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recommendedAction: {\r\n serializedName: \"recommendedAction\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n creationTimeUtc: {\r\n serializedName: \"creationTimeUtc\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n recoveryProviderErrorMessage: {\r\n serializedName: \"recoveryProviderErrorMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n entityId: {\r\n serializedName: \"entityId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HealthError = {\r\n serializedName: \"HealthError\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\",\r\n modelProperties: {\r\n innerHealthErrors: {\r\n serializedName: \"innerHealthErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InnerHealthError\"\r\n }\r\n }\r\n }\r\n },\r\n errorSource: {\r\n serializedName: \"errorSource\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorType: {\r\n serializedName: \"errorType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorLevel: {\r\n serializedName: \"errorLevel\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorCategory: {\r\n serializedName: \"errorCategory\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorCode: {\r\n serializedName: \"errorCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n summaryMessage: {\r\n serializedName: \"summaryMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n errorMessage: {\r\n serializedName: \"errorMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n possibleCauses: {\r\n serializedName: \"possibleCauses\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recommendedAction: {\r\n serializedName: \"recommendedAction\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n creationTimeUtc: {\r\n serializedName: \"creationTimeUtc\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n recoveryProviderErrorMessage: {\r\n serializedName: \"recoveryProviderErrorMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n entityId: {\r\n serializedName: \"entityId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EventProperties = {\r\n serializedName: \"EventProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EventProperties\",\r\n modelProperties: {\r\n eventCode: {\r\n serializedName: \"eventCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n eventType: {\r\n serializedName: \"eventType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n affectedObjectFriendlyName: {\r\n serializedName: \"affectedObjectFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n severity: {\r\n serializedName: \"severity\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n timeOfOccurrence: {\r\n serializedName: \"timeOfOccurrence\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n fabricId: {\r\n serializedName: \"fabricId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"EventProviderSpecificDetails\"\r\n }\r\n },\r\n eventSpecificDetails: {\r\n serializedName: \"eventSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"EventSpecificDetails\",\r\n className: \"EventSpecificDetails\"\r\n }\r\n },\r\n healthErrors: {\r\n serializedName: \"healthErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Event = {\r\n serializedName: \"Event\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Event\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EventProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var EventQueryParameter = {\r\n serializedName: \"EventQueryParameter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EventQueryParameter\",\r\n modelProperties: {\r\n eventCode: {\r\n serializedName: \"eventCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n severity: {\r\n serializedName: \"severity\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n eventType: {\r\n serializedName: \"eventType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricName: {\r\n serializedName: \"fabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n affectedObjectFriendlyName: {\r\n serializedName: \"affectedObjectFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n startTime: {\r\n serializedName: \"startTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n endTime: {\r\n serializedName: \"endTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ExportJobDetails = {\r\n serializedName: \"ExportJobDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,\r\n uberParent: \"JobDetails\",\r\n className: \"ExportJobDetails\",\r\n modelProperties: tslib_1.__assign({}, JobDetails.type.modelProperties, { blobUri: {\r\n serializedName: \"blobUri\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, sasToken: {\r\n serializedName: \"sasToken\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var FabricProperties = {\r\n serializedName: \"FabricProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FabricProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n encryptionDetails: {\r\n serializedName: \"encryptionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EncryptionDetails\"\r\n }\r\n },\r\n rolloverEncryptionDetails: {\r\n serializedName: \"rolloverEncryptionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EncryptionDetails\"\r\n }\r\n },\r\n internalIdentifier: {\r\n serializedName: \"internalIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n bcdrState: {\r\n serializedName: \"bcdrState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n customDetails: {\r\n serializedName: \"customDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificDetails\",\r\n className: \"FabricSpecificDetails\"\r\n }\r\n },\r\n healthErrorDetails: {\r\n serializedName: \"healthErrorDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n health: {\r\n serializedName: \"health\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Fabric = {\r\n serializedName: \"Fabric\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Fabric\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FabricProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var FabricCreationInputProperties = {\r\n serializedName: \"FabricCreationInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FabricCreationInputProperties\",\r\n modelProperties: {\r\n customDetails: {\r\n serializedName: \"customDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificCreationInput\",\r\n className: \"FabricSpecificCreationInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var FabricCreationInput = {\r\n serializedName: \"FabricCreationInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FabricCreationInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FabricCreationInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobEntity = {\r\n serializedName: \"JobEntity\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobEntity\",\r\n modelProperties: {\r\n jobId: {\r\n serializedName: \"jobId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n jobFriendlyName: {\r\n serializedName: \"jobFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetObjectId: {\r\n serializedName: \"targetObjectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetObjectName: {\r\n serializedName: \"targetObjectName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetInstanceType: {\r\n serializedName: \"targetInstanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n jobScenarioName: {\r\n serializedName: \"jobScenarioName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var FabricReplicationGroupTaskDetails = {\r\n serializedName: \"FabricReplicationGroupTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"FabricReplicationGroupTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { skippedReason: {\r\n serializedName: \"skippedReason\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, skippedReasonString: {\r\n serializedName: \"skippedReasonString\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, jobTask: {\r\n serializedName: \"jobTask\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobEntity\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var FailoverReplicationProtectedItemDetails = {\r\n serializedName: \"FailoverReplicationProtectedItemDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FailoverReplicationProtectedItemDetails\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n testVmName: {\r\n serializedName: \"testVmName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n testVmFriendlyName: {\r\n serializedName: \"testVmFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkConnectionStatus: {\r\n serializedName: \"networkConnectionStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkFriendlyName: {\r\n serializedName: \"networkFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subnet: {\r\n serializedName: \"subnet\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryPointId: {\r\n serializedName: \"recoveryPointId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryPointTime: {\r\n serializedName: \"recoveryPointTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var FailoverJobDetails = {\r\n serializedName: \"FailoverJobDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,\r\n uberParent: \"JobDetails\",\r\n className: \"FailoverJobDetails\",\r\n modelProperties: tslib_1.__assign({}, JobDetails.type.modelProperties, { protectedItemDetails: {\r\n serializedName: \"protectedItemDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"FailoverReplicationProtectedItemDetails\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var FailoverProcessServerRequestProperties = {\r\n serializedName: \"FailoverProcessServerRequestProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FailoverProcessServerRequestProperties\",\r\n modelProperties: {\r\n containerName: {\r\n serializedName: \"containerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sourceProcessServerId: {\r\n serializedName: \"sourceProcessServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetProcessServerId: {\r\n serializedName: \"targetProcessServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vmsToMigrate: {\r\n serializedName: \"vmsToMigrate\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n updateType: {\r\n serializedName: \"updateType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var FailoverProcessServerRequest = {\r\n serializedName: \"FailoverProcessServerRequest\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FailoverProcessServerRequest\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FailoverProcessServerRequestProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HealthErrorSummary = {\r\n serializedName: \"HealthErrorSummary\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthErrorSummary\",\r\n modelProperties: {\r\n summaryCode: {\r\n serializedName: \"summaryCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n category: {\r\n serializedName: \"category\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n severity: {\r\n serializedName: \"severity\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n summaryMessage: {\r\n serializedName: \"summaryMessage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n affectedResourceType: {\r\n serializedName: \"affectedResourceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n affectedResourceSubtype: {\r\n serializedName: \"affectedResourceSubtype\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n affectedResourceCorrelationIds: {\r\n serializedName: \"affectedResourceCorrelationIds\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HyperVReplica2012EventDetails = {\r\n serializedName: \"HyperVReplica2012\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"HyperVReplica2012EventDetails\",\r\n modelProperties: tslib_1.__assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {\r\n serializedName: \"containerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricName: {\r\n serializedName: \"fabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteContainerName: {\r\n serializedName: \"remoteContainerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteFabricName: {\r\n serializedName: \"remoteFabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplica2012R2EventDetails = {\r\n serializedName: \"HyperVReplica2012R2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"HyperVReplica2012R2EventDetails\",\r\n modelProperties: tslib_1.__assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {\r\n serializedName: \"containerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricName: {\r\n serializedName: \"fabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteContainerName: {\r\n serializedName: \"remoteContainerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteFabricName: {\r\n serializedName: \"remoteFabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzureApplyRecoveryPointInput = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"ApplyRecoveryPointProviderSpecificInput\",\r\n className: \"HyperVReplicaAzureApplyRecoveryPointInput\",\r\n modelProperties: tslib_1.__assign({}, ApplyRecoveryPointProviderSpecificInput.type.modelProperties, { vaultLocation: {\r\n serializedName: \"vaultLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, primaryKekCertificatePfx: {\r\n serializedName: \"primaryKekCertificatePfx\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, secondaryKekCertificatePfx: {\r\n serializedName: \"secondaryKekCertificatePfx\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzureEnableProtectionInput = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"EnableProtectionProviderSpecificInput\",\r\n className: \"HyperVReplicaAzureEnableProtectionInput\",\r\n modelProperties: tslib_1.__assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { hvHostVmId: {\r\n serializedName: \"hvHostVmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmName: {\r\n serializedName: \"vmName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vhdId: {\r\n serializedName: \"vhdId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetStorageAccountId: {\r\n serializedName: \"targetStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureNetworkId: {\r\n serializedName: \"targetAzureNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureSubnetId: {\r\n serializedName: \"targetAzureSubnetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, enableRdpOnTargetOption: {\r\n serializedName: \"enableRdpOnTargetOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureVmName: {\r\n serializedName: \"targetAzureVmName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, logStorageAccountId: {\r\n serializedName: \"logStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, disksToInclude: {\r\n serializedName: \"disksToInclude\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, targetAzureV1ResourceGroupId: {\r\n serializedName: \"targetAzureV1ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureV2ResourceGroupId: {\r\n serializedName: \"targetAzureV2ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, useManagedDisks: {\r\n serializedName: \"useManagedDisks\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzureEventDetails = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"HyperVReplicaAzureEventDetails\",\r\n modelProperties: tslib_1.__assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {\r\n serializedName: \"containerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricName: {\r\n serializedName: \"fabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteContainerName: {\r\n serializedName: \"remoteContainerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzureFailbackProviderInput = {\r\n serializedName: \"HyperVReplicaAzureFailback\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"HyperVReplicaAzureFailbackProviderInput\",\r\n modelProperties: tslib_1.__assign({}, ProviderSpecificFailoverInput.type.modelProperties, { dataSyncOption: {\r\n serializedName: \"dataSyncOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryVmCreationOption: {\r\n serializedName: \"recoveryVmCreationOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, providerIdForAlternateRecovery: {\r\n serializedName: \"providerIdForAlternateRecovery\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzureFailoverProviderInput = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"HyperVReplicaAzureFailoverProviderInput\",\r\n modelProperties: tslib_1.__assign({}, ProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {\r\n serializedName: \"vaultLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, primaryKekCertificatePfx: {\r\n serializedName: \"primaryKekCertificatePfx\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, secondaryKekCertificatePfx: {\r\n serializedName: \"secondaryKekCertificatePfx\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryPointId: {\r\n serializedName: \"recoveryPointId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzurePolicyDetails = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"HyperVReplicaAzurePolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointHistoryDurationInHours: {\r\n serializedName: \"recoveryPointHistoryDurationInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, applicationConsistentSnapshotFrequencyInHours: {\r\n serializedName: \"applicationConsistentSnapshotFrequencyInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, replicationInterval: {\r\n serializedName: \"replicationInterval\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, onlineReplicationStartTime: {\r\n serializedName: \"onlineReplicationStartTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, encryption: {\r\n serializedName: \"encryption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, activeStorageAccountId: {\r\n serializedName: \"activeStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzurePolicyInput = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"HyperVReplicaAzurePolicyInput\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointHistoryDuration: {\r\n serializedName: \"recoveryPointHistoryDuration\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, applicationConsistentSnapshotFrequencyInHours: {\r\n serializedName: \"applicationConsistentSnapshotFrequencyInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, replicationInterval: {\r\n serializedName: \"replicationInterval\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, onlineReplicationStartTime: {\r\n serializedName: \"onlineReplicationStartTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, storageAccounts: {\r\n serializedName: \"storageAccounts\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var InitialReplicationDetails = {\r\n serializedName: \"InitialReplicationDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InitialReplicationDetails\",\r\n modelProperties: {\r\n initialReplicationType: {\r\n serializedName: \"initialReplicationType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n initialReplicationProgressPercentage: {\r\n serializedName: \"initialReplicationProgressPercentage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OSDetails = {\r\n serializedName: \"OSDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OSDetails\",\r\n modelProperties: {\r\n osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n productType: {\r\n serializedName: \"productType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n osEdition: {\r\n serializedName: \"osEdition\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n oSVersion: {\r\n serializedName: \"oSVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n oSMajorVersion: {\r\n serializedName: \"oSMajorVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n oSMinorVersion: {\r\n serializedName: \"oSMinorVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var HyperVReplicaAzureReplicationDetails = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"HyperVReplicaAzureReplicationDetails\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { azureVmDiskDetails: {\r\n serializedName: \"azureVmDiskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"AzureVmDiskDetails\"\r\n }\r\n }\r\n }\r\n }, recoveryAzureVmName: {\r\n serializedName: \"recoveryAzureVmName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureVMSize: {\r\n serializedName: \"recoveryAzureVMSize\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureStorageAccount: {\r\n serializedName: \"recoveryAzureStorageAccount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureLogStorageAccountId: {\r\n serializedName: \"recoveryAzureLogStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, lastReplicatedTime: {\r\n serializedName: \"lastReplicatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, rpoInSeconds: {\r\n serializedName: \"rpoInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, lastRpoCalculatedTime: {\r\n serializedName: \"lastRpoCalculatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, vmId: {\r\n serializedName: \"vmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionState: {\r\n serializedName: \"vmProtectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionStateDescription: {\r\n serializedName: \"vmProtectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationDetails: {\r\n serializedName: \"initialReplicationDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InitialReplicationDetails\"\r\n }\r\n }, vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\"\r\n }\r\n }\r\n }\r\n }, selectedRecoveryAzureNetworkId: {\r\n serializedName: \"selectedRecoveryAzureNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, selectedSourceNicId: {\r\n serializedName: \"selectedSourceNicId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, encryption: {\r\n serializedName: \"encryption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, oSDetails: {\r\n serializedName: \"oSDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OSDetails\"\r\n }\r\n }, sourceVmRamSizeInMB: {\r\n serializedName: \"sourceVmRamSizeInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, sourceVmCpuCount: {\r\n serializedName: \"sourceVmCpuCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, enableRdpOnTargetOption: {\r\n serializedName: \"enableRdpOnTargetOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureResourceGroupId: {\r\n serializedName: \"recoveryAzureResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAvailabilitySetId: {\r\n serializedName: \"recoveryAvailabilitySetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, useManagedDisks: {\r\n serializedName: \"useManagedDisks\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, licenseType: {\r\n serializedName: \"licenseType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzureReprotectInput = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"ReverseReplicationProviderSpecificInput\",\r\n className: \"HyperVReplicaAzureReprotectInput\",\r\n modelProperties: tslib_1.__assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { hvHostVmId: {\r\n serializedName: \"hvHostVmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmName: {\r\n serializedName: \"vmName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vHDId: {\r\n serializedName: \"vHDId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, storageAccountId: {\r\n serializedName: \"storageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, logStorageAccountId: {\r\n serializedName: \"logStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaAzureUpdateReplicationProtectedItemInput = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator,\r\n uberParent: \"UpdateReplicationProtectedItemProviderInput\",\r\n className: \"HyperVReplicaAzureUpdateReplicationProtectedItemInput\",\r\n modelProperties: tslib_1.__assign({}, UpdateReplicationProtectedItemProviderInput.type.modelProperties, { recoveryAzureV1ResourceGroupId: {\r\n serializedName: \"recoveryAzureV1ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureV2ResourceGroupId: {\r\n serializedName: \"recoveryAzureV2ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, useManagedDisks: {\r\n serializedName: \"useManagedDisks\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaBaseEventDetails = {\r\n serializedName: \"HyperVReplicaBaseEventDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"HyperVReplicaBaseEventDetails\",\r\n modelProperties: tslib_1.__assign({}, EventProviderSpecificDetails.type.modelProperties, { containerName: {\r\n serializedName: \"containerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricName: {\r\n serializedName: \"fabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteContainerName: {\r\n serializedName: \"remoteContainerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, remoteFabricName: {\r\n serializedName: \"remoteFabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaBasePolicyDetails = {\r\n serializedName: \"HyperVReplicaBasePolicyDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"HyperVReplicaBasePolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPoints: {\r\n serializedName: \"recoveryPoints\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, applicationConsistentSnapshotFrequencyInHours: {\r\n serializedName: \"applicationConsistentSnapshotFrequencyInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, compression: {\r\n serializedName: \"compression\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationMethod: {\r\n serializedName: \"initialReplicationMethod\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, onlineReplicationStartTime: {\r\n serializedName: \"onlineReplicationStartTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationImportPath: {\r\n serializedName: \"offlineReplicationImportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationExportPath: {\r\n serializedName: \"offlineReplicationExportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, replicationPort: {\r\n serializedName: \"replicationPort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, allowedAuthenticationType: {\r\n serializedName: \"allowedAuthenticationType\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, replicaDeletionOption: {\r\n serializedName: \"replicaDeletionOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaBaseReplicationDetails = {\r\n serializedName: \"HyperVReplicaBaseReplicationDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"HyperVReplicaBaseReplicationDetails\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { lastReplicatedTime: {\r\n serializedName: \"lastReplicatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\"\r\n }\r\n }\r\n }\r\n }, vmId: {\r\n serializedName: \"vmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionState: {\r\n serializedName: \"vmProtectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionStateDescription: {\r\n serializedName: \"vmProtectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationDetails: {\r\n serializedName: \"initialReplicationDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InitialReplicationDetails\"\r\n }\r\n }, vMDiskDetails: {\r\n serializedName: \"vMDiskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskDetails\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaBluePolicyDetails = {\r\n serializedName: \"HyperVReplica2012R2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"HyperVReplicaBluePolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { replicationFrequencyInSeconds: {\r\n serializedName: \"replicationFrequencyInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPoints: {\r\n serializedName: \"recoveryPoints\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, applicationConsistentSnapshotFrequencyInHours: {\r\n serializedName: \"applicationConsistentSnapshotFrequencyInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, compression: {\r\n serializedName: \"compression\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationMethod: {\r\n serializedName: \"initialReplicationMethod\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, onlineReplicationStartTime: {\r\n serializedName: \"onlineReplicationStartTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationImportPath: {\r\n serializedName: \"offlineReplicationImportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationExportPath: {\r\n serializedName: \"offlineReplicationExportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, replicationPort: {\r\n serializedName: \"replicationPort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, allowedAuthenticationType: {\r\n serializedName: \"allowedAuthenticationType\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, replicaDeletionOption: {\r\n serializedName: \"replicaDeletionOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaBluePolicyInput = {\r\n serializedName: \"HyperVReplica2012R2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"HyperVReplicaBluePolicyInput\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificInput.type.modelProperties, { replicationFrequencyInSeconds: {\r\n serializedName: \"replicationFrequencyInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPoints: {\r\n serializedName: \"recoveryPoints\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, applicationConsistentSnapshotFrequencyInHours: {\r\n serializedName: \"applicationConsistentSnapshotFrequencyInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, compression: {\r\n serializedName: \"compression\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationMethod: {\r\n serializedName: \"initialReplicationMethod\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, onlineReplicationStartTime: {\r\n serializedName: \"onlineReplicationStartTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationImportPath: {\r\n serializedName: \"offlineReplicationImportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationExportPath: {\r\n serializedName: \"offlineReplicationExportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, replicationPort: {\r\n serializedName: \"replicationPort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, allowedAuthenticationType: {\r\n serializedName: \"allowedAuthenticationType\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, replicaDeletion: {\r\n serializedName: \"replicaDeletion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaBlueReplicationDetails = {\r\n serializedName: \"HyperVReplica2012R2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"HyperVReplicaBlueReplicationDetails\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { lastReplicatedTime: {\r\n serializedName: \"lastReplicatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\"\r\n }\r\n }\r\n }\r\n }, vmId: {\r\n serializedName: \"vmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionState: {\r\n serializedName: \"vmProtectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionStateDescription: {\r\n serializedName: \"vmProtectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationDetails: {\r\n serializedName: \"initialReplicationDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InitialReplicationDetails\"\r\n }\r\n }, vMDiskDetails: {\r\n serializedName: \"vMDiskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskDetails\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaPolicyDetails = {\r\n serializedName: \"HyperVReplica2012\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"HyperVReplicaPolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPoints: {\r\n serializedName: \"recoveryPoints\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, applicationConsistentSnapshotFrequencyInHours: {\r\n serializedName: \"applicationConsistentSnapshotFrequencyInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, compression: {\r\n serializedName: \"compression\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationMethod: {\r\n serializedName: \"initialReplicationMethod\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, onlineReplicationStartTime: {\r\n serializedName: \"onlineReplicationStartTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationImportPath: {\r\n serializedName: \"offlineReplicationImportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationExportPath: {\r\n serializedName: \"offlineReplicationExportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, replicationPort: {\r\n serializedName: \"replicationPort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, allowedAuthenticationType: {\r\n serializedName: \"allowedAuthenticationType\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, replicaDeletionOption: {\r\n serializedName: \"replicaDeletionOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaPolicyInput = {\r\n serializedName: \"HyperVReplica2012\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"HyperVReplicaPolicyInput\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPoints: {\r\n serializedName: \"recoveryPoints\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, applicationConsistentSnapshotFrequencyInHours: {\r\n serializedName: \"applicationConsistentSnapshotFrequencyInHours\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, compression: {\r\n serializedName: \"compression\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationMethod: {\r\n serializedName: \"initialReplicationMethod\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, onlineReplicationStartTime: {\r\n serializedName: \"onlineReplicationStartTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationImportPath: {\r\n serializedName: \"offlineReplicationImportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, offlineReplicationExportPath: {\r\n serializedName: \"offlineReplicationExportPath\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, replicationPort: {\r\n serializedName: \"replicationPort\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, allowedAuthenticationType: {\r\n serializedName: \"allowedAuthenticationType\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, replicaDeletion: {\r\n serializedName: \"replicaDeletion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVReplicaReplicationDetails = {\r\n serializedName: \"HyperVReplica2012\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"HyperVReplicaReplicationDetails\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { lastReplicatedTime: {\r\n serializedName: \"lastReplicatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\"\r\n }\r\n }\r\n }\r\n }, vmId: {\r\n serializedName: \"vmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionState: {\r\n serializedName: \"vmProtectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionStateDescription: {\r\n serializedName: \"vmProtectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, initialReplicationDetails: {\r\n serializedName: \"initialReplicationDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InitialReplicationDetails\"\r\n }\r\n }, vMDiskDetails: {\r\n serializedName: \"vMDiskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskDetails\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var HyperVSiteDetails = {\r\n serializedName: \"HyperVSite\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificDetails\",\r\n className: \"HyperVSiteDetails\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificDetails.type.modelProperties)\r\n }\r\n};\r\nexport var HyperVVirtualMachineDetails = {\r\n serializedName: \"HyperVVirtualMachine\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ConfigurationSettings\",\r\n className: \"HyperVVirtualMachineDetails\",\r\n modelProperties: tslib_1.__assign({}, ConfigurationSettings.type.modelProperties, { sourceItemId: {\r\n serializedName: \"sourceItemId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, generation: {\r\n serializedName: \"generation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osDetails: {\r\n serializedName: \"osDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OSDetails\"\r\n }\r\n }, diskDetails: {\r\n serializedName: \"diskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskDetails\"\r\n }\r\n }\r\n }\r\n }, hasPhysicalDisk: {\r\n serializedName: \"hasPhysicalDisk\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hasFibreChannelAdapter: {\r\n serializedName: \"hasFibreChannelAdapter\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hasSharedVhd: {\r\n serializedName: \"hasSharedVhd\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var IdentityInformation = {\r\n serializedName: \"IdentityInformation\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityInformation\",\r\n modelProperties: {\r\n identityProviderType: {\r\n serializedName: \"identityProviderType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n tenantId: {\r\n serializedName: \"tenantId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n applicationId: {\r\n serializedName: \"applicationId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n objectId: {\r\n serializedName: \"objectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n audience: {\r\n serializedName: \"audience\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n aadAuthority: {\r\n serializedName: \"aadAuthority\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n certificateThumbprint: {\r\n serializedName: \"certificateThumbprint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InlineWorkflowTaskDetails = {\r\n serializedName: \"InlineWorkflowTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator,\r\n uberParent: \"GroupTaskDetails\",\r\n className: \"InlineWorkflowTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, GroupTaskDetails.type.modelProperties, { workflowIds: {\r\n serializedName: \"workflowIds\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAgentDetails = {\r\n serializedName: \"InMageAgentDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageAgentDetails\",\r\n modelProperties: {\r\n agentVersion: {\r\n serializedName: \"agentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n agentUpdateStatus: {\r\n serializedName: \"agentUpdateStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n postUpdateRebootStatus: {\r\n serializedName: \"postUpdateRebootStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n agentExpiryDate: {\r\n serializedName: \"agentExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageAgentVersionDetails = {\r\n serializedName: \"InMageAgentVersionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageAgentVersionDetails\",\r\n modelProperties: {\r\n postUpdateRebootStatus: {\r\n serializedName: \"postUpdateRebootStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n version: {\r\n serializedName: \"version\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n expiryDate: {\r\n serializedName: \"expiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n status: {\r\n serializedName: \"status\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageAzureV2ApplyRecoveryPointInput = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ApplyRecoveryPointProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"ApplyRecoveryPointProviderSpecificInput\",\r\n className: \"InMageAzureV2ApplyRecoveryPointInput\",\r\n modelProperties: tslib_1.__assign({}, ApplyRecoveryPointProviderSpecificInput.type.modelProperties, { vaultLocation: {\r\n serializedName: \"vaultLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2EnableProtectionInput = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"EnableProtectionProviderSpecificInput\",\r\n className: \"InMageAzureV2EnableProtectionInput\",\r\n modelProperties: tslib_1.__assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { masterTargetId: {\r\n serializedName: \"masterTargetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, processServerId: {\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, storageAccountId: {\r\n required: true,\r\n serializedName: \"storageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupId: {\r\n serializedName: \"multiVmGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupName: {\r\n serializedName: \"multiVmGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, disksToInclude: {\r\n serializedName: \"disksToInclude\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, targetAzureNetworkId: {\r\n serializedName: \"targetAzureNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureSubnetId: {\r\n serializedName: \"targetAzureSubnetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, enableRdpOnTargetOption: {\r\n serializedName: \"enableRdpOnTargetOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureVmName: {\r\n serializedName: \"targetAzureVmName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, logStorageAccountId: {\r\n serializedName: \"logStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureV1ResourceGroupId: {\r\n serializedName: \"targetAzureV1ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, targetAzureV2ResourceGroupId: {\r\n serializedName: \"targetAzureV2ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, useManagedDisks: {\r\n serializedName: \"useManagedDisks\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2EventDetails = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EventProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"EventProviderSpecificDetails\",\r\n className: \"InMageAzureV2EventDetails\",\r\n modelProperties: tslib_1.__assign({}, EventProviderSpecificDetails.type.modelProperties, { eventType: {\r\n serializedName: \"eventType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, category: {\r\n serializedName: \"category\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, component: {\r\n serializedName: \"component\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, correctiveAction: {\r\n serializedName: \"correctiveAction\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, details: {\r\n serializedName: \"details\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, summary: {\r\n serializedName: \"summary\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, siteName: {\r\n serializedName: \"siteName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2FailoverProviderInput = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"InMageAzureV2FailoverProviderInput\",\r\n modelProperties: tslib_1.__assign({}, ProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {\r\n serializedName: \"vaultLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryPointId: {\r\n serializedName: \"recoveryPointId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2PolicyDetails = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"InMageAzureV2PolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { crashConsistentFrequencyInMinutes: {\r\n serializedName: \"crashConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2PolicyInput = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"InMageAzureV2PolicyInput\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, crashConsistentFrequencyInMinutes: {\r\n serializedName: \"crashConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n required: true,\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2ProtectedDiskDetails = {\r\n serializedName: \"InMageAzureV2ProtectedDiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageAzureV2ProtectedDiskDetails\",\r\n modelProperties: {\r\n diskId: {\r\n serializedName: \"diskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskName: {\r\n serializedName: \"diskName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectionStage: {\r\n serializedName: \"protectionStage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n healthErrorCode: {\r\n serializedName: \"healthErrorCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n rpoInSeconds: {\r\n serializedName: \"rpoInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n resyncRequired: {\r\n serializedName: \"resyncRequired\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resyncProgressPercentage: {\r\n serializedName: \"resyncProgressPercentage\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n resyncDurationInSeconds: {\r\n serializedName: \"resyncDurationInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n diskCapacityInBytes: {\r\n serializedName: \"diskCapacityInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n fileSystemCapacityInBytes: {\r\n serializedName: \"fileSystemCapacityInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n sourceDataInMegaBytes: {\r\n serializedName: \"sourceDataInMegaBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n psDataInMegaBytes: {\r\n serializedName: \"psDataInMegaBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n targetDataInMegaBytes: {\r\n serializedName: \"targetDataInMegaBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n diskResized: {\r\n serializedName: \"diskResized\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastRpoCalculatedTime: {\r\n serializedName: \"lastRpoCalculatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageAzureV2RecoveryPointDetails = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProviderSpecificRecoveryPointDetails.type.polymorphicDiscriminator,\r\n uberParent: \"ProviderSpecificRecoveryPointDetails\",\r\n className: \"InMageAzureV2RecoveryPointDetails\",\r\n modelProperties: tslib_1.__assign({}, ProviderSpecificRecoveryPointDetails.type.modelProperties, { isMultiVmSyncPoint: {\r\n serializedName: \"isMultiVmSyncPoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2ReplicationDetails = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"InMageAzureV2ReplicationDetails\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { infrastructureVmId: {\r\n serializedName: \"infrastructureVmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vCenterInfrastructureId: {\r\n serializedName: \"vCenterInfrastructureId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protectionStage: {\r\n serializedName: \"protectionStage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmId: {\r\n serializedName: \"vmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionState: {\r\n serializedName: \"vmProtectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionStateDescription: {\r\n serializedName: \"vmProtectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, resyncProgressPercentage: {\r\n serializedName: \"resyncProgressPercentage\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, rpoInSeconds: {\r\n serializedName: \"rpoInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, compressedDataRateInMB: {\r\n serializedName: \"compressedDataRateInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, uncompressedDataRateInMB: {\r\n serializedName: \"uncompressedDataRateInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentVersion: {\r\n serializedName: \"agentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentExpiryDate: {\r\n serializedName: \"agentExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, isAgentUpdateRequired: {\r\n serializedName: \"isAgentUpdateRequired\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, isRebootAfterUpdateRequired: {\r\n serializedName: \"isRebootAfterUpdateRequired\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, lastHeartbeat: {\r\n serializedName: \"lastHeartbeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, processServerId: {\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupId: {\r\n serializedName: \"multiVmGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupName: {\r\n serializedName: \"multiVmGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmSyncStatus: {\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protectedDisks: {\r\n serializedName: \"protectedDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageAzureV2ProtectedDiskDetails\"\r\n }\r\n }\r\n }\r\n }, diskResized: {\r\n serializedName: \"diskResized\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, masterTargetId: {\r\n serializedName: \"masterTargetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, sourceVmCpuCount: {\r\n serializedName: \"sourceVmCpuCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, sourceVmRamSizeInMB: {\r\n serializedName: \"sourceVmRamSizeInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vhdName: {\r\n serializedName: \"vhdName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osDiskId: {\r\n serializedName: \"osDiskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, azureVMDiskDetails: {\r\n serializedName: \"azureVMDiskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"AzureVmDiskDetails\"\r\n }\r\n }\r\n }\r\n }, recoveryAzureVMName: {\r\n serializedName: \"recoveryAzureVMName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureVMSize: {\r\n serializedName: \"recoveryAzureVMSize\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureStorageAccount: {\r\n serializedName: \"recoveryAzureStorageAccount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureLogStorageAccountId: {\r\n serializedName: \"recoveryAzureLogStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\"\r\n }\r\n }\r\n }\r\n }, selectedRecoveryAzureNetworkId: {\r\n serializedName: \"selectedRecoveryAzureNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, selectedSourceNicId: {\r\n serializedName: \"selectedSourceNicId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, discoveryType: {\r\n serializedName: \"discoveryType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, enableRdpOnTargetOption: {\r\n serializedName: \"enableRdpOnTargetOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, datastores: {\r\n serializedName: \"datastores\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, targetVmId: {\r\n serializedName: \"targetVmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureResourceGroupId: {\r\n serializedName: \"recoveryAzureResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAvailabilitySetId: {\r\n serializedName: \"recoveryAvailabilitySetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, useManagedDisks: {\r\n serializedName: \"useManagedDisks\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, licenseType: {\r\n serializedName: \"licenseType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, validationErrors: {\r\n serializedName: \"validationErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n }, lastRpoCalculatedTime: {\r\n serializedName: \"lastRpoCalculatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, lastUpdateReceivedTime: {\r\n serializedName: \"lastUpdateReceivedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, replicaId: {\r\n serializedName: \"replicaId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osVersion: {\r\n serializedName: \"osVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2ReprotectInput = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"ReverseReplicationProviderSpecificInput\",\r\n className: \"InMageAzureV2ReprotectInput\",\r\n modelProperties: tslib_1.__assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { masterTargetId: {\r\n serializedName: \"masterTargetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, processServerId: {\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, storageAccountId: {\r\n serializedName: \"storageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, policyId: {\r\n serializedName: \"policyId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, logStorageAccountId: {\r\n serializedName: \"logStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, disksToInclude: {\r\n serializedName: \"disksToInclude\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageAzureV2UpdateReplicationProtectedItemInput = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: UpdateReplicationProtectedItemProviderInput.type.polymorphicDiscriminator,\r\n uberParent: \"UpdateReplicationProtectedItemProviderInput\",\r\n className: \"InMageAzureV2UpdateReplicationProtectedItemInput\",\r\n modelProperties: tslib_1.__assign({}, UpdateReplicationProtectedItemProviderInput.type.modelProperties, { recoveryAzureV1ResourceGroupId: {\r\n serializedName: \"recoveryAzureV1ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryAzureV2ResourceGroupId: {\r\n serializedName: \"recoveryAzureV2ResourceGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, useManagedDisks: {\r\n serializedName: \"useManagedDisks\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageBasePolicyDetails = {\r\n serializedName: \"InMageBasePolicyDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"InMageBasePolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageDisableProtectionProviderSpecificInput = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: DisableProtectionProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"DisableProtectionProviderSpecificInput\",\r\n className: \"InMageDisableProtectionProviderSpecificInput\",\r\n modelProperties: tslib_1.__assign({}, DisableProtectionProviderSpecificInput.type.modelProperties, { replicaVmDeletionStatus: {\r\n serializedName: \"replicaVmDeletionStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageDiskDetails = {\r\n serializedName: \"InMageDiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageDiskDetails\",\r\n modelProperties: {\r\n diskId: {\r\n serializedName: \"diskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskName: {\r\n serializedName: \"diskName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskSizeInMB: {\r\n serializedName: \"diskSizeInMB\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskType: {\r\n serializedName: \"diskType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskConfiguration: {\r\n serializedName: \"diskConfiguration\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n volumeList: {\r\n serializedName: \"volumeList\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskVolumeDetails\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageVolumeExclusionOptions = {\r\n serializedName: \"InMageVolumeExclusionOptions\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageVolumeExclusionOptions\",\r\n modelProperties: {\r\n volumeLabel: {\r\n serializedName: \"volumeLabel\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n onlyExcludeIfSingleVolume: {\r\n serializedName: \"onlyExcludeIfSingleVolume\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageDiskSignatureExclusionOptions = {\r\n serializedName: \"InMageDiskSignatureExclusionOptions\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageDiskSignatureExclusionOptions\",\r\n modelProperties: {\r\n diskSignature: {\r\n serializedName: \"diskSignature\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageDiskExclusionInput = {\r\n serializedName: \"InMageDiskExclusionInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageDiskExclusionInput\",\r\n modelProperties: {\r\n volumeOptions: {\r\n serializedName: \"volumeOptions\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageVolumeExclusionOptions\"\r\n }\r\n }\r\n }\r\n },\r\n diskSignatureOptions: {\r\n serializedName: \"diskSignatureOptions\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageDiskSignatureExclusionOptions\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageEnableProtectionInput = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"EnableProtectionProviderSpecificInput\",\r\n className: \"InMageEnableProtectionInput\",\r\n modelProperties: tslib_1.__assign({}, EnableProtectionProviderSpecificInput.type.modelProperties, { vmFriendlyName: {\r\n serializedName: \"vmFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, masterTargetId: {\r\n required: true,\r\n serializedName: \"masterTargetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, processServerId: {\r\n required: true,\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, retentionDrive: {\r\n required: true,\r\n serializedName: \"retentionDrive\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupId: {\r\n required: true,\r\n serializedName: \"multiVmGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupName: {\r\n required: true,\r\n serializedName: \"multiVmGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, datastoreName: {\r\n serializedName: \"datastoreName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, diskExclusionInput: {\r\n serializedName: \"diskExclusionInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageDiskExclusionInput\"\r\n }\r\n }, disksToInclude: {\r\n serializedName: \"disksToInclude\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageFailoverProviderInput = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"InMageFailoverProviderInput\",\r\n modelProperties: tslib_1.__assign({}, ProviderSpecificFailoverInput.type.modelProperties, { recoveryPointType: {\r\n serializedName: \"recoveryPointType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryPointId: {\r\n serializedName: \"recoveryPointId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMagePolicyDetails = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"InMagePolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMagePolicyInput = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"InMagePolicyInput\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n required: true,\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageProtectedDiskDetails = {\r\n serializedName: \"InMageProtectedDiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageProtectedDiskDetails\",\r\n modelProperties: {\r\n diskId: {\r\n serializedName: \"diskId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n diskName: {\r\n serializedName: \"diskName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectionStage: {\r\n serializedName: \"protectionStage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n healthErrorCode: {\r\n serializedName: \"healthErrorCode\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n rpoInSeconds: {\r\n serializedName: \"rpoInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n resyncRequired: {\r\n serializedName: \"resyncRequired\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n resyncProgressPercentage: {\r\n serializedName: \"resyncProgressPercentage\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n resyncDurationInSeconds: {\r\n serializedName: \"resyncDurationInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n diskCapacityInBytes: {\r\n serializedName: \"diskCapacityInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n fileSystemCapacityInBytes: {\r\n serializedName: \"fileSystemCapacityInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n sourceDataInMB: {\r\n serializedName: \"sourceDataInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n psDataInMB: {\r\n serializedName: \"psDataInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n targetDataInMB: {\r\n serializedName: \"targetDataInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n diskResized: {\r\n serializedName: \"diskResized\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastRpoCalculatedTime: {\r\n serializedName: \"lastRpoCalculatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var OSDiskDetails = {\r\n serializedName: \"OSDiskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OSDiskDetails\",\r\n modelProperties: {\r\n osVhdId: {\r\n serializedName: \"osVhdId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vhdName: {\r\n serializedName: \"vhdName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var InMageReplicationDetails = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReplicationProviderSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"InMageReplicationDetails\",\r\n modelProperties: tslib_1.__assign({}, ReplicationProviderSpecificSettings.type.modelProperties, { activeSiteType: {\r\n serializedName: \"activeSiteType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, sourceVmCpuCount: {\r\n serializedName: \"sourceVmCpuCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, sourceVmRamSizeInMB: {\r\n serializedName: \"sourceVmRamSizeInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, osDetails: {\r\n serializedName: \"osDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OSDiskDetails\"\r\n }\r\n }, protectionStage: {\r\n serializedName: \"protectionStage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmId: {\r\n serializedName: \"vmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionState: {\r\n serializedName: \"vmProtectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmProtectionStateDescription: {\r\n serializedName: \"vmProtectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, resyncDetails: {\r\n serializedName: \"resyncDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InitialReplicationDetails\"\r\n }\r\n }, retentionWindowStart: {\r\n serializedName: \"retentionWindowStart\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, retentionWindowEnd: {\r\n serializedName: \"retentionWindowEnd\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, compressedDataRateInMB: {\r\n serializedName: \"compressedDataRateInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, uncompressedDataRateInMB: {\r\n serializedName: \"uncompressedDataRateInMB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, rpoInSeconds: {\r\n serializedName: \"rpoInSeconds\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, protectedDisks: {\r\n serializedName: \"protectedDisks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageProtectedDiskDetails\"\r\n }\r\n }\r\n }\r\n }, ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, lastHeartbeat: {\r\n serializedName: \"lastHeartbeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, processServerId: {\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, masterTargetId: {\r\n serializedName: \"masterTargetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, consistencyPoints: {\r\n serializedName: \"consistencyPoints\",\r\n type: {\r\n name: \"Dictionary\",\r\n value: {\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }\r\n }\r\n }, diskResized: {\r\n serializedName: \"diskResized\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, rebootAfterUpdateStatus: {\r\n serializedName: \"rebootAfterUpdateStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupId: {\r\n serializedName: \"multiVmGroupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmGroupName: {\r\n serializedName: \"multiVmGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmSyncStatus: {\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentDetails: {\r\n serializedName: \"agentDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageAgentDetails\"\r\n }\r\n }, vCenterInfrastructureId: {\r\n serializedName: \"vCenterInfrastructureId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, infrastructureVmId: {\r\n serializedName: \"infrastructureVmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicDetails\"\r\n }\r\n }\r\n }\r\n }, discoveryType: {\r\n serializedName: \"discoveryType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, azureStorageAccountId: {\r\n serializedName: \"azureStorageAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, datastores: {\r\n serializedName: \"datastores\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }, validationErrors: {\r\n serializedName: \"validationErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n }, lastRpoCalculatedTime: {\r\n serializedName: \"lastRpoCalculatedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, lastUpdateReceivedTime: {\r\n serializedName: \"lastUpdateReceivedTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, replicaId: {\r\n serializedName: \"replicaId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osVersion: {\r\n serializedName: \"osVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var InMageReprotectInput = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ReverseReplicationProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"ReverseReplicationProviderSpecificInput\",\r\n className: \"InMageReprotectInput\",\r\n modelProperties: tslib_1.__assign({}, ReverseReplicationProviderSpecificInput.type.modelProperties, { masterTargetId: {\r\n required: true,\r\n serializedName: \"masterTargetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, processServerId: {\r\n required: true,\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, retentionDrive: {\r\n required: true,\r\n serializedName: \"retentionDrive\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, datastoreName: {\r\n serializedName: \"datastoreName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, diskExclusionInput: {\r\n serializedName: \"diskExclusionInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageDiskExclusionInput\"\r\n }\r\n }, profileId: {\r\n required: true,\r\n serializedName: \"profileId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, disksToInclude: {\r\n serializedName: \"disksToInclude\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var JobProperties = {\r\n serializedName: \"JobProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobProperties\",\r\n modelProperties: {\r\n activityId: {\r\n serializedName: \"activityId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n scenarioName: {\r\n serializedName: \"scenarioName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n stateDescription: {\r\n serializedName: \"stateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n tasks: {\r\n serializedName: \"tasks\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ASRTask\"\r\n }\r\n }\r\n }\r\n },\r\n errors: {\r\n serializedName: \"errors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobErrorDetails\"\r\n }\r\n }\r\n }\r\n },\r\n startTime: {\r\n serializedName: \"startTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n endTime: {\r\n serializedName: \"endTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n allowedActions: {\r\n serializedName: \"allowedActions\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n targetObjectId: {\r\n serializedName: \"targetObjectId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetObjectName: {\r\n serializedName: \"targetObjectName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetInstanceType: {\r\n serializedName: \"targetInstanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n customDetails: {\r\n serializedName: \"customDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"JobDetails\",\r\n className: \"JobDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Job = {\r\n serializedName: \"Job\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Job\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var JobQueryParameter = {\r\n serializedName: \"JobQueryParameter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobQueryParameter\",\r\n modelProperties: {\r\n startTime: {\r\n serializedName: \"startTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n endTime: {\r\n serializedName: \"endTime\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricId: {\r\n serializedName: \"fabricId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n affectedObjectTypes: {\r\n serializedName: \"affectedObjectTypes\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n jobStatus: {\r\n serializedName: \"jobStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobStatusEventDetails = {\r\n serializedName: \"JobStatus\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EventSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"EventSpecificDetails\",\r\n className: \"JobStatusEventDetails\",\r\n modelProperties: tslib_1.__assign({}, EventSpecificDetails.type.modelProperties, { jobId: {\r\n serializedName: \"jobId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, jobFriendlyName: {\r\n serializedName: \"jobFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, jobStatus: {\r\n serializedName: \"jobStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, affectedObjectType: {\r\n serializedName: \"affectedObjectType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var JobTaskDetails = {\r\n serializedName: \"JobTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"JobTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { jobTask: {\r\n serializedName: \"jobTask\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobEntity\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var LogicalNetworkProperties = {\r\n serializedName: \"LogicalNetworkProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LogicalNetworkProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkVirtualizationStatus: {\r\n serializedName: \"networkVirtualizationStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n logicalNetworkUsage: {\r\n serializedName: \"logicalNetworkUsage\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n logicalNetworkDefinitionsStatus: {\r\n serializedName: \"logicalNetworkDefinitionsStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var LogicalNetwork = {\r\n serializedName: \"LogicalNetwork\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LogicalNetwork\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LogicalNetworkProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ManualActionTaskDetails = {\r\n serializedName: \"ManualActionTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"ManualActionTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, instructions: {\r\n serializedName: \"instructions\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, observation: {\r\n serializedName: \"observation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RetentionVolume = {\r\n serializedName: \"RetentionVolume\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RetentionVolume\",\r\n modelProperties: {\r\n volumeName: {\r\n serializedName: \"volumeName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n capacityInBytes: {\r\n serializedName: \"capacityInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n freeSpaceInBytes: {\r\n serializedName: \"freeSpaceInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n thresholdPercentage: {\r\n serializedName: \"thresholdPercentage\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var VersionDetails = {\r\n serializedName: \"VersionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VersionDetails\",\r\n modelProperties: {\r\n version: {\r\n serializedName: \"version\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n expiryDate: {\r\n serializedName: \"expiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n status: {\r\n serializedName: \"status\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var MasterTargetServer = {\r\n serializedName: \"MasterTargetServer\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"MasterTargetServer\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n agentVersion: {\r\n serializedName: \"agentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastHeartbeat: {\r\n serializedName: \"lastHeartbeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n versionStatus: {\r\n serializedName: \"versionStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n retentionVolumes: {\r\n serializedName: \"retentionVolumes\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RetentionVolume\"\r\n }\r\n }\r\n }\r\n },\r\n dataStores: {\r\n serializedName: \"dataStores\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DataStore\"\r\n }\r\n }\r\n }\r\n },\r\n validationErrors: {\r\n serializedName: \"validationErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n healthErrors: {\r\n serializedName: \"healthErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n diskCount: {\r\n serializedName: \"diskCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n osVersion: {\r\n serializedName: \"osVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n agentExpiryDate: {\r\n serializedName: \"agentExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n marsAgentVersion: {\r\n serializedName: \"marsAgentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n marsAgentExpiryDate: {\r\n serializedName: \"marsAgentExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n agentVersionDetails: {\r\n serializedName: \"agentVersionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VersionDetails\"\r\n }\r\n },\r\n marsAgentVersionDetails: {\r\n serializedName: \"marsAgentVersionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VersionDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var MobilityServiceUpdate = {\r\n serializedName: \"MobilityServiceUpdate\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"MobilityServiceUpdate\",\r\n modelProperties: {\r\n version: {\r\n serializedName: \"version\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n rebootStatus: {\r\n serializedName: \"rebootStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Subnet = {\r\n serializedName: \"Subnet\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Subnet\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n addressList: {\r\n serializedName: \"addressList\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NetworkProperties = {\r\n serializedName: \"NetworkProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkProperties\",\r\n modelProperties: {\r\n fabricType: {\r\n serializedName: \"fabricType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n subnets: {\r\n serializedName: \"subnets\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Subnet\"\r\n }\r\n }\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkType: {\r\n serializedName: \"networkType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Network = {\r\n serializedName: \"Network\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Network\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var NetworkMappingProperties = {\r\n serializedName: \"NetworkMappingProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkMappingProperties\",\r\n modelProperties: {\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryNetworkFriendlyName: {\r\n serializedName: \"primaryNetworkFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryNetworkId: {\r\n serializedName: \"primaryNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryFabricFriendlyName: {\r\n serializedName: \"primaryFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryNetworkFriendlyName: {\r\n serializedName: \"recoveryNetworkFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryNetworkId: {\r\n serializedName: \"recoveryNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryFabricArmId: {\r\n serializedName: \"recoveryFabricArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryFabricFriendlyName: {\r\n serializedName: \"recoveryFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricSpecificSettings: {\r\n serializedName: \"fabricSpecificSettings\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"NetworkMappingFabricSpecificSettings\",\r\n className: \"NetworkMappingFabricSpecificSettings\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NetworkMapping = {\r\n serializedName: \"NetworkMapping\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkMapping\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkMappingProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var OperationsDiscovery = {\r\n serializedName: \"OperationsDiscovery\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationsDiscovery\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n display: {\r\n serializedName: \"display\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Display\"\r\n }\r\n },\r\n origin: {\r\n serializedName: \"origin\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Object\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PlannedFailoverInputProperties = {\r\n serializedName: \"PlannedFailoverInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PlannedFailoverInputProperties\",\r\n modelProperties: {\r\n failoverDirection: {\r\n serializedName: \"failoverDirection\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"ProviderSpecificFailoverInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PlannedFailoverInput = {\r\n serializedName: \"PlannedFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PlannedFailoverInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PlannedFailoverInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PolicyProperties = {\r\n serializedName: \"PolicyProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"PolicyProviderSpecificDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var Policy = {\r\n serializedName: \"Policy\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"Policy\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ProcessServer = {\r\n serializedName: \"ProcessServer\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProcessServer\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n agentVersion: {\r\n serializedName: \"agentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastHeartbeat: {\r\n serializedName: \"lastHeartbeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n versionStatus: {\r\n serializedName: \"versionStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n mobilityServiceUpdates: {\r\n serializedName: \"mobilityServiceUpdates\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"MobilityServiceUpdate\"\r\n }\r\n }\r\n }\r\n },\r\n hostId: {\r\n serializedName: \"hostId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n machineCount: {\r\n serializedName: \"machineCount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicationPairCount: {\r\n serializedName: \"replicationPairCount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n systemLoad: {\r\n serializedName: \"systemLoad\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n systemLoadStatus: {\r\n serializedName: \"systemLoadStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n cpuLoad: {\r\n serializedName: \"cpuLoad\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n cpuLoadStatus: {\r\n serializedName: \"cpuLoadStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n totalMemoryInBytes: {\r\n serializedName: \"totalMemoryInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n availableMemoryInBytes: {\r\n serializedName: \"availableMemoryInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n memoryUsageStatus: {\r\n serializedName: \"memoryUsageStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n totalSpaceInBytes: {\r\n serializedName: \"totalSpaceInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n availableSpaceInBytes: {\r\n serializedName: \"availableSpaceInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n spaceUsageStatus: {\r\n serializedName: \"spaceUsageStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n psServiceStatus: {\r\n serializedName: \"psServiceStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sslCertExpiryDate: {\r\n serializedName: \"sslCertExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n sslCertExpiryRemainingDays: {\r\n serializedName: \"sslCertExpiryRemainingDays\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n osVersion: {\r\n serializedName: \"osVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n healthErrors: {\r\n serializedName: \"healthErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n agentExpiryDate: {\r\n serializedName: \"agentExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n agentVersionDetails: {\r\n serializedName: \"agentVersionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VersionDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectableItemProperties = {\r\n serializedName: \"ProtectableItemProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectableItemProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectionStatus: {\r\n serializedName: \"protectionStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicationProtectedItemId: {\r\n serializedName: \"replicationProtectedItemId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryServicesProviderId: {\r\n serializedName: \"recoveryServicesProviderId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectionReadinessErrors: {\r\n serializedName: \"protectionReadinessErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n supportedReplicationProviders: {\r\n serializedName: \"supportedReplicationProviders\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n customDetails: {\r\n serializedName: \"customDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ConfigurationSettings\",\r\n className: \"ConfigurationSettings\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectableItem = {\r\n serializedName: \"ProtectableItem\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectableItem\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectableItemProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ProtectableItemQueryParameter = {\r\n serializedName: \"ProtectableItemQueryParameter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectableItemQueryParameter\",\r\n modelProperties: {\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectedItemsQueryParameter = {\r\n serializedName: \"ProtectedItemsQueryParameter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectedItemsQueryParameter\",\r\n modelProperties: {\r\n sourceFabricName: {\r\n serializedName: \"sourceFabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryPlanName: {\r\n serializedName: \"recoveryPlanName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vCenterName: {\r\n serializedName: \"vCenterName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n instanceType: {\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n multiVmGroupCreateOption: {\r\n serializedName: \"multiVmGroupCreateOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectionContainerFabricSpecificDetails = {\r\n serializedName: \"ProtectionContainerFabricSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerFabricSpecificDetails\",\r\n modelProperties: {\r\n instanceType: {\r\n readOnly: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectionContainerProperties = {\r\n serializedName: \"ProtectionContainerProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerProperties\",\r\n modelProperties: {\r\n fabricFriendlyName: {\r\n serializedName: \"fabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricType: {\r\n serializedName: \"fabricType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectedItemCount: {\r\n serializedName: \"protectedItemCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n pairingStatus: {\r\n serializedName: \"pairingStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n role: {\r\n serializedName: \"role\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricSpecificDetails: {\r\n serializedName: \"fabricSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerFabricSpecificDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectionContainer = {\r\n serializedName: \"ProtectionContainer\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainer\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ProtectionContainerMappingProperties = {\r\n serializedName: \"ProtectionContainerMappingProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerMappingProperties\",\r\n modelProperties: {\r\n targetProtectionContainerId: {\r\n serializedName: \"targetProtectionContainerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetProtectionContainerFriendlyName: {\r\n serializedName: \"targetProtectionContainerFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProtectionContainerMappingProviderSpecificDetails\",\r\n className: \"ProtectionContainerMappingProviderSpecificDetails\"\r\n }\r\n },\r\n health: {\r\n serializedName: \"health\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n healthErrorDetails: {\r\n serializedName: \"healthErrorDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n policyId: {\r\n serializedName: \"policyId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n state: {\r\n serializedName: \"state\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sourceProtectionContainerFriendlyName: {\r\n serializedName: \"sourceProtectionContainerFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sourceFabricFriendlyName: {\r\n serializedName: \"sourceFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n targetFabricFriendlyName: {\r\n serializedName: \"targetFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n policyFriendlyName: {\r\n serializedName: \"policyFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectionContainerMapping = {\r\n serializedName: \"ProtectionContainerMapping\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerMapping\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerMappingProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RcmAzureMigrationPolicyDetails = {\r\n serializedName: \"RcmAzureMigration\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"RcmAzureMigrationPolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, multiVmSyncStatus: {\r\n serializedName: \"multiVmSyncStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, crashConsistentFrequencyInMinutes: {\r\n serializedName: \"crashConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanProperties = {\r\n serializedName: \"RecoveryPlanProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryFabricId: {\r\n serializedName: \"primaryFabricId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryFabricFriendlyName: {\r\n serializedName: \"primaryFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryFabricId: {\r\n serializedName: \"recoveryFabricId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryFabricFriendlyName: {\r\n serializedName: \"recoveryFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n failoverDeploymentModel: {\r\n serializedName: \"failoverDeploymentModel\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicationProviders: {\r\n serializedName: \"replicationProviders\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n allowedOperations: {\r\n serializedName: \"allowedOperations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n lastPlannedFailoverTime: {\r\n serializedName: \"lastPlannedFailoverTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n lastUnplannedFailoverTime: {\r\n serializedName: \"lastUnplannedFailoverTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n lastTestFailoverTime: {\r\n serializedName: \"lastTestFailoverTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n currentScenario: {\r\n serializedName: \"currentScenario\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CurrentScenarioDetails\"\r\n }\r\n },\r\n currentScenarioStatus: {\r\n serializedName: \"currentScenarioStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n currentScenarioStatusDescription: {\r\n serializedName: \"currentScenarioStatusDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n groups: {\r\n serializedName: \"groups\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanGroup\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlan = {\r\n serializedName: \"RecoveryPlan\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlan\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanProviderSpecificFailoverInput = {\r\n serializedName: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n modelProperties: {\r\n instanceType: {\r\n required: true,\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanA2AFailoverInput = {\r\n serializedName: \"A2A\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanA2AFailoverInput\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { recoveryPointType: {\r\n required: true,\r\n serializedName: \"recoveryPointType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, cloudServiceCreationOption: {\r\n serializedName: \"cloudServiceCreationOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, multiVmSyncPointOption: {\r\n serializedName: \"multiVmSyncPointOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanAutomationRunbookActionDetails = {\r\n serializedName: \"AutomationRunbookActionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanActionDetails\",\r\n className: \"RecoveryPlanAutomationRunbookActionDetails\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanActionDetails.type.modelProperties, { runbookId: {\r\n serializedName: \"runbookId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, timeout: {\r\n serializedName: \"timeout\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricLocation: {\r\n required: true,\r\n serializedName: \"fabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanGroupTaskDetails = {\r\n serializedName: \"RecoveryPlanGroupTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator,\r\n uberParent: \"GroupTaskDetails\",\r\n className: \"RecoveryPlanGroupTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, GroupTaskDetails.type.modelProperties, { name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, groupId: {\r\n serializedName: \"groupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, rpGroupType: {\r\n serializedName: \"rpGroupType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanHyperVReplicaAzureFailbackInput = {\r\n serializedName: \"HyperVReplicaAzureFailback\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanHyperVReplicaAzureFailbackInput\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { dataSyncOption: {\r\n required: true,\r\n serializedName: \"dataSyncOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryVmCreationOption: {\r\n required: true,\r\n serializedName: \"recoveryVmCreationOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanHyperVReplicaAzureFailoverInput = {\r\n serializedName: \"HyperVReplicaAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanHyperVReplicaAzureFailoverInput\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {\r\n required: true,\r\n serializedName: \"vaultLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, primaryKekCertificatePfx: {\r\n serializedName: \"primaryKekCertificatePfx\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, secondaryKekCertificatePfx: {\r\n serializedName: \"secondaryKekCertificatePfx\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryPointType: {\r\n serializedName: \"recoveryPointType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanInMageAzureV2FailoverInput = {\r\n serializedName: \"InMageAzureV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanInMageAzureV2FailoverInput\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { vaultLocation: {\r\n required: true,\r\n serializedName: \"vaultLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, recoveryPointType: {\r\n required: true,\r\n serializedName: \"recoveryPointType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, useMultiVmSyncPoint: {\r\n serializedName: \"useMultiVmSyncPoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanInMageFailoverInput = {\r\n serializedName: \"InMage\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanProviderSpecificFailoverInput.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanInMageFailoverInput\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanProviderSpecificFailoverInput.type.modelProperties, { recoveryPointType: {\r\n required: true,\r\n serializedName: \"recoveryPointType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanManualActionDetails = {\r\n serializedName: \"ManualActionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanActionDetails\",\r\n className: \"RecoveryPlanManualActionDetails\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanActionDetails.type.modelProperties, { description: {\r\n serializedName: \"description\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanPlannedFailoverInputProperties = {\r\n serializedName: \"RecoveryPlanPlannedFailoverInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanPlannedFailoverInputProperties\",\r\n modelProperties: {\r\n failoverDirection: {\r\n required: true,\r\n serializedName: \"failoverDirection\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanProviderSpecificFailoverInput\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanPlannedFailoverInput = {\r\n serializedName: \"RecoveryPlanPlannedFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanPlannedFailoverInput\",\r\n modelProperties: {\r\n properties: {\r\n required: true,\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanPlannedFailoverInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanScriptActionDetails = {\r\n serializedName: \"ScriptActionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: RecoveryPlanActionDetails.type.polymorphicDiscriminator,\r\n uberParent: \"RecoveryPlanActionDetails\",\r\n className: \"RecoveryPlanScriptActionDetails\",\r\n modelProperties: tslib_1.__assign({}, RecoveryPlanActionDetails.type.modelProperties, { path: {\r\n required: true,\r\n serializedName: \"path\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, timeout: {\r\n serializedName: \"timeout\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, fabricLocation: {\r\n required: true,\r\n serializedName: \"fabricLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanShutdownGroupTaskDetails = {\r\n serializedName: \"RecoveryPlanShutdownGroupTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: GroupTaskDetails.type.polymorphicDiscriminator,\r\n uberParent: \"GroupTaskDetails\",\r\n className: \"RecoveryPlanShutdownGroupTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, GroupTaskDetails.type.modelProperties, { name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, groupId: {\r\n serializedName: \"groupId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, rpGroupType: {\r\n serializedName: \"rpGroupType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryPlanTestFailoverCleanupInputProperties = {\r\n serializedName: \"RecoveryPlanTestFailoverCleanupInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanTestFailoverCleanupInputProperties\",\r\n modelProperties: {\r\n comments: {\r\n serializedName: \"comments\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanTestFailoverCleanupInput = {\r\n serializedName: \"RecoveryPlanTestFailoverCleanupInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanTestFailoverCleanupInput\",\r\n modelProperties: {\r\n properties: {\r\n required: true,\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanTestFailoverCleanupInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanTestFailoverInputProperties = {\r\n serializedName: \"RecoveryPlanTestFailoverInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanTestFailoverInputProperties\",\r\n modelProperties: {\r\n failoverDirection: {\r\n required: true,\r\n serializedName: \"failoverDirection\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkType: {\r\n required: true,\r\n serializedName: \"networkType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkId: {\r\n serializedName: \"networkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n skipTestFailoverCleanup: {\r\n serializedName: \"skipTestFailoverCleanup\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanProviderSpecificFailoverInput\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanTestFailoverInput = {\r\n serializedName: \"RecoveryPlanTestFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanTestFailoverInput\",\r\n modelProperties: {\r\n properties: {\r\n required: true,\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanTestFailoverInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanUnplannedFailoverInputProperties = {\r\n serializedName: \"RecoveryPlanUnplannedFailoverInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanUnplannedFailoverInputProperties\",\r\n modelProperties: {\r\n failoverDirection: {\r\n required: true,\r\n serializedName: \"failoverDirection\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sourceSiteOperations: {\r\n required: true,\r\n serializedName: \"sourceSiteOperations\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"RecoveryPlanProviderSpecificFailoverInput\",\r\n className: \"RecoveryPlanProviderSpecificFailoverInput\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanUnplannedFailoverInput = {\r\n serializedName: \"RecoveryPlanUnplannedFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanUnplannedFailoverInput\",\r\n modelProperties: {\r\n properties: {\r\n required: true,\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanUnplannedFailoverInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPointProperties = {\r\n serializedName: \"RecoveryPointProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPointProperties\",\r\n modelProperties: {\r\n recoveryPointTime: {\r\n serializedName: \"recoveryPointTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n recoveryPointType: {\r\n serializedName: \"recoveryPointType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProviderSpecificRecoveryPointDetails\",\r\n className: \"ProviderSpecificRecoveryPointDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPoint = {\r\n serializedName: \"RecoveryPoint\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPoint\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPointProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var RecoveryServicesProviderProperties = {\r\n serializedName: \"RecoveryServicesProviderProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryServicesProviderProperties\",\r\n modelProperties: {\r\n fabricType: {\r\n serializedName: \"fabricType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerVersion: {\r\n serializedName: \"providerVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n serverVersion: {\r\n serializedName: \"serverVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerVersionState: {\r\n serializedName: \"providerVersionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerVersionExpiryDate: {\r\n serializedName: \"providerVersionExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n fabricFriendlyName: {\r\n serializedName: \"fabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastHeartBeat: {\r\n serializedName: \"lastHeartBeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n connectionStatus: {\r\n serializedName: \"connectionStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectedItemCount: {\r\n serializedName: \"protectedItemCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n allowedScenarios: {\r\n serializedName: \"allowedScenarios\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n healthErrorDetails: {\r\n serializedName: \"healthErrorDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n draIdentifier: {\r\n serializedName: \"draIdentifier\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n identityDetails: {\r\n serializedName: \"identityDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"IdentityInformation\"\r\n }\r\n },\r\n providerVersionDetails: {\r\n serializedName: \"providerVersionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VersionDetails\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryServicesProvider = {\r\n serializedName: \"RecoveryServicesProvider\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryServicesProvider\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryServicesProviderProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ReplicationProviderContainerUnmappingInput = {\r\n serializedName: \"ReplicationProviderContainerUnmappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReplicationProviderContainerUnmappingInput\",\r\n modelProperties: {\r\n instanceType: {\r\n serializedName: \"instanceType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RemoveProtectionContainerMappingInputProperties = {\r\n serializedName: \"RemoveProtectionContainerMappingInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RemoveProtectionContainerMappingInputProperties\",\r\n modelProperties: {\r\n providerSpecificInput: {\r\n serializedName: \"providerSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReplicationProviderContainerUnmappingInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RemoveProtectionContainerMappingInput = {\r\n serializedName: \"RemoveProtectionContainerMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RemoveProtectionContainerMappingInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RemoveProtectionContainerMappingInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RenewCertificateInputProperties = {\r\n serializedName: \"RenewCertificateInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RenewCertificateInputProperties\",\r\n modelProperties: {\r\n renewCertificateType: {\r\n serializedName: \"renewCertificateType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RenewCertificateInput = {\r\n serializedName: \"RenewCertificateInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RenewCertificateInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RenewCertificateInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReplicationGroupDetails = {\r\n serializedName: \"ReplicationGroupDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ConfigurationSettings\",\r\n className: \"ReplicationGroupDetails\",\r\n modelProperties: tslib_1.__assign({}, ConfigurationSettings.type.modelProperties)\r\n }\r\n};\r\nexport var ReplicationProtectedItemProperties = {\r\n serializedName: \"ReplicationProtectedItemProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReplicationProtectedItemProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectedItemType: {\r\n serializedName: \"protectedItemType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectableItemId: {\r\n serializedName: \"protectableItemId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryServicesProviderId: {\r\n serializedName: \"recoveryServicesProviderId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryFabricFriendlyName: {\r\n serializedName: \"primaryFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryFabricProvider: {\r\n serializedName: \"primaryFabricProvider\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryFabricFriendlyName: {\r\n serializedName: \"recoveryFabricFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryFabricId: {\r\n serializedName: \"recoveryFabricId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n primaryProtectionContainerFriendlyName: {\r\n serializedName: \"primaryProtectionContainerFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryProtectionContainerFriendlyName: {\r\n serializedName: \"recoveryProtectionContainerFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectionState: {\r\n serializedName: \"protectionState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n protectionStateDescription: {\r\n serializedName: \"protectionStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n activeLocation: {\r\n serializedName: \"activeLocation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n testFailoverState: {\r\n serializedName: \"testFailoverState\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n testFailoverStateDescription: {\r\n serializedName: \"testFailoverStateDescription\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n allowedOperations: {\r\n serializedName: \"allowedOperations\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n },\r\n replicationHealth: {\r\n serializedName: \"replicationHealth\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n failoverHealth: {\r\n serializedName: \"failoverHealth\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n healthErrors: {\r\n serializedName: \"healthErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n policyId: {\r\n serializedName: \"policyId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n policyFriendlyName: {\r\n serializedName: \"policyFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastSuccessfulFailoverTime: {\r\n serializedName: \"lastSuccessfulFailoverTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n lastSuccessfulTestFailoverTime: {\r\n serializedName: \"lastSuccessfulTestFailoverTime\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n currentScenario: {\r\n serializedName: \"currentScenario\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"CurrentScenarioDetails\"\r\n }\r\n },\r\n failoverRecoveryPointId: {\r\n serializedName: \"failoverRecoveryPointId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificSettings\",\r\n className: \"ReplicationProviderSpecificSettings\"\r\n }\r\n },\r\n recoveryContainerId: {\r\n serializedName: \"recoveryContainerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReplicationProtectedItem = {\r\n serializedName: \"ReplicationProtectedItem\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReplicationProtectedItem\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReplicationProtectedItemProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var ResourceHealthSummary = {\r\n serializedName: \"ResourceHealthSummary\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResourceHealthSummary\",\r\n modelProperties: {\r\n resourceCount: {\r\n serializedName: \"resourceCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n issues: {\r\n serializedName: \"issues\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthErrorSummary\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ResumeJobParamsProperties = {\r\n serializedName: \"ResumeJobParamsProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResumeJobParamsProperties\",\r\n modelProperties: {\r\n comments: {\r\n serializedName: \"comments\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ResumeJobParams = {\r\n serializedName: \"ResumeJobParams\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResumeJobParams\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResumeJobParamsProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReverseReplicationInputProperties = {\r\n serializedName: \"ReverseReplicationInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReverseReplicationInputProperties\",\r\n modelProperties: {\r\n failoverDirection: {\r\n serializedName: \"failoverDirection\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReverseReplicationProviderSpecificInput\",\r\n className: \"ReverseReplicationProviderSpecificInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReverseReplicationInput = {\r\n serializedName: \"ReverseReplicationInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReverseReplicationInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReverseReplicationInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RunAsAccount = {\r\n serializedName: \"RunAsAccount\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RunAsAccount\",\r\n modelProperties: {\r\n accountId: {\r\n serializedName: \"accountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n accountName: {\r\n serializedName: \"accountName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SanEnableProtectionInput = {\r\n serializedName: \"San\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: EnableProtectionProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"EnableProtectionProviderSpecificInput\",\r\n className: \"SanEnableProtectionInput\",\r\n modelProperties: tslib_1.__assign({}, EnableProtectionProviderSpecificInput.type.modelProperties)\r\n }\r\n};\r\nexport var ScriptActionTaskDetails = {\r\n serializedName: \"ScriptActionTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"ScriptActionTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, path: {\r\n serializedName: \"path\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, output: {\r\n serializedName: \"output\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, isPrimarySideScript: {\r\n serializedName: \"isPrimarySideScript\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var StorageClassificationProperties = {\r\n serializedName: \"StorageClassificationProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var StorageClassification = {\r\n serializedName: \"StorageClassification\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassification\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var StorageClassificationMappingProperties = {\r\n serializedName: \"StorageClassificationMappingProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationMappingProperties\",\r\n modelProperties: {\r\n targetStorageClassificationId: {\r\n serializedName: \"targetStorageClassificationId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var StorageClassificationMapping = {\r\n serializedName: \"StorageClassificationMapping\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationMapping\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationMappingProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var StorageMappingInputProperties = {\r\n serializedName: \"StorageMappingInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageMappingInputProperties\",\r\n modelProperties: {\r\n targetStorageClassificationId: {\r\n serializedName: \"targetStorageClassificationId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var StorageClassificationMappingInput = {\r\n serializedName: \"StorageClassificationMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationMappingInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageMappingInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SwitchProtectionInputProperties = {\r\n serializedName: \"SwitchProtectionInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SwitchProtectionInputProperties\",\r\n modelProperties: {\r\n replicationProtectedItemName: {\r\n serializedName: \"replicationProtectedItemName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"SwitchProtectionProviderSpecificInput\",\r\n className: \"SwitchProtectionProviderSpecificInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SwitchProtectionInput = {\r\n serializedName: \"SwitchProtectionInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SwitchProtectionInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"SwitchProtectionInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var SwitchProtectionJobDetails = {\r\n serializedName: \"SwitchProtectionJobDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,\r\n uberParent: \"JobDetails\",\r\n className: \"SwitchProtectionJobDetails\",\r\n modelProperties: tslib_1.__assign({}, JobDetails.type.modelProperties, { newReplicationProtectedItemId: {\r\n serializedName: \"newReplicationProtectedItemId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var TargetComputeSizeProperties = {\r\n serializedName: \"TargetComputeSizeProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TargetComputeSizeProperties\",\r\n modelProperties: {\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n cpuCoresCount: {\r\n serializedName: \"cpuCoresCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n memoryInGB: {\r\n serializedName: \"memoryInGB\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n maxDataDiskCount: {\r\n serializedName: \"maxDataDiskCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n maxNicsCount: {\r\n serializedName: \"maxNicsCount\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n },\r\n errors: {\r\n serializedName: \"errors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ComputeSizeErrorDetails\"\r\n }\r\n }\r\n }\r\n },\r\n highIopsSupported: {\r\n serializedName: \"highIopsSupported\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TargetComputeSize = {\r\n serializedName: \"TargetComputeSize\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TargetComputeSize\",\r\n modelProperties: {\r\n id: {\r\n serializedName: \"id\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n type: {\r\n serializedName: \"type\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TargetComputeSizeProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TestFailoverCleanupInputProperties = {\r\n serializedName: \"TestFailoverCleanupInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TestFailoverCleanupInputProperties\",\r\n modelProperties: {\r\n comments: {\r\n serializedName: \"comments\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TestFailoverCleanupInput = {\r\n serializedName: \"TestFailoverCleanupInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TestFailoverCleanupInput\",\r\n modelProperties: {\r\n properties: {\r\n required: true,\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TestFailoverCleanupInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TestFailoverInputProperties = {\r\n serializedName: \"TestFailoverInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TestFailoverInputProperties\",\r\n modelProperties: {\r\n failoverDirection: {\r\n serializedName: \"failoverDirection\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkType: {\r\n serializedName: \"networkType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n networkId: {\r\n serializedName: \"networkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n skipTestFailoverCleanup: {\r\n serializedName: \"skipTestFailoverCleanup\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"ProviderSpecificFailoverInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TestFailoverInput = {\r\n serializedName: \"TestFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TestFailoverInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TestFailoverInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TestFailoverJobDetails = {\r\n serializedName: \"TestFailoverJobDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: JobDetails.type.polymorphicDiscriminator,\r\n uberParent: \"JobDetails\",\r\n className: \"TestFailoverJobDetails\",\r\n modelProperties: tslib_1.__assign({}, JobDetails.type.modelProperties, { testFailoverStatus: {\r\n serializedName: \"testFailoverStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, comments: {\r\n serializedName: \"comments\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, networkName: {\r\n serializedName: \"networkName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, networkFriendlyName: {\r\n serializedName: \"networkFriendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, networkType: {\r\n serializedName: \"networkType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protectedItemDetails: {\r\n serializedName: \"protectedItemDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"FailoverReplicationProtectedItemDetails\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var UnplannedFailoverInputProperties = {\r\n serializedName: \"UnplannedFailoverInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UnplannedFailoverInputProperties\",\r\n modelProperties: {\r\n failoverDirection: {\r\n serializedName: \"failoverDirection\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n sourceSiteOperations: {\r\n serializedName: \"sourceSiteOperations\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ProviderSpecificFailoverInput\",\r\n className: \"ProviderSpecificFailoverInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UnplannedFailoverInput = {\r\n serializedName: \"UnplannedFailoverInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UnplannedFailoverInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UnplannedFailoverInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateMobilityServiceRequestProperties = {\r\n serializedName: \"UpdateMobilityServiceRequestProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateMobilityServiceRequestProperties\",\r\n modelProperties: {\r\n runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateMobilityServiceRequest = {\r\n serializedName: \"UpdateMobilityServiceRequest\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateMobilityServiceRequest\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateMobilityServiceRequestProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateNetworkMappingInputProperties = {\r\n serializedName: \"UpdateNetworkMappingInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateNetworkMappingInputProperties\",\r\n modelProperties: {\r\n recoveryFabricName: {\r\n serializedName: \"recoveryFabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryNetworkId: {\r\n serializedName: \"recoveryNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricSpecificDetails: {\r\n serializedName: \"fabricSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"FabricSpecificUpdateNetworkMappingInput\",\r\n className: \"FabricSpecificUpdateNetworkMappingInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateNetworkMappingInput = {\r\n serializedName: \"UpdateNetworkMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateNetworkMappingInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateNetworkMappingInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdatePolicyInputProperties = {\r\n serializedName: \"UpdatePolicyInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdatePolicyInputProperties\",\r\n modelProperties: {\r\n replicationProviderSettings: {\r\n serializedName: \"replicationProviderSettings\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"PolicyProviderSpecificInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdatePolicyInput = {\r\n serializedName: \"UpdatePolicyInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdatePolicyInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdatePolicyInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateProtectionContainerMappingInputProperties = {\r\n serializedName: \"UpdateProtectionContainerMappingInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateProtectionContainerMappingInputProperties\",\r\n modelProperties: {\r\n providerSpecificInput: {\r\n serializedName: \"providerSpecificInput\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"ReplicationProviderSpecificUpdateContainerMappingInput\",\r\n className: \"ReplicationProviderSpecificUpdateContainerMappingInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateProtectionContainerMappingInput = {\r\n serializedName: \"UpdateProtectionContainerMappingInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateProtectionContainerMappingInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateProtectionContainerMappingInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateRecoveryPlanInputProperties = {\r\n serializedName: \"UpdateRecoveryPlanInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateRecoveryPlanInputProperties\",\r\n modelProperties: {\r\n groups: {\r\n serializedName: \"groups\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanGroup\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateRecoveryPlanInput = {\r\n serializedName: \"UpdateRecoveryPlanInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateRecoveryPlanInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateRecoveryPlanInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var VMNicInputDetails = {\r\n serializedName: \"VMNicInputDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicInputDetails\",\r\n modelProperties: {\r\n nicId: {\r\n serializedName: \"nicId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryVMSubnetName: {\r\n serializedName: \"recoveryVMSubnetName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n replicaNicStaticIPAddress: {\r\n serializedName: \"replicaNicStaticIPAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n selectionType: {\r\n serializedName: \"selectionType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n enableAcceleratedNetworkingOnRecovery: {\r\n serializedName: \"enableAcceleratedNetworkingOnRecovery\",\r\n type: {\r\n name: \"Boolean\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateReplicationProtectedItemInputProperties = {\r\n serializedName: \"UpdateReplicationProtectedItemInputProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateReplicationProtectedItemInputProperties\",\r\n modelProperties: {\r\n recoveryAzureVMName: {\r\n serializedName: \"recoveryAzureVMName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryAzureVMSize: {\r\n serializedName: \"recoveryAzureVMSize\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n selectedRecoveryAzureNetworkId: {\r\n serializedName: \"selectedRecoveryAzureNetworkId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n selectedSourceNicId: {\r\n serializedName: \"selectedSourceNicId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n enableRdpOnTargetOption: {\r\n serializedName: \"enableRdpOnTargetOption\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n vmNics: {\r\n serializedName: \"vmNics\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VMNicInputDetails\"\r\n }\r\n }\r\n }\r\n },\r\n licenseType: {\r\n serializedName: \"licenseType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n recoveryAvailabilitySetId: {\r\n serializedName: \"recoveryAvailabilitySetId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n providerSpecificDetails: {\r\n serializedName: \"providerSpecificDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: {\r\n serializedName: \"instanceType\",\r\n clientName: \"instanceType\"\r\n },\r\n uberParent: \"UpdateReplicationProtectedItemProviderInput\",\r\n className: \"UpdateReplicationProtectedItemProviderInput\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateReplicationProtectedItemInput = {\r\n serializedName: \"UpdateReplicationProtectedItemInput\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateReplicationProtectedItemInput\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateReplicationProtectedItemInputProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateVCenterRequestProperties = {\r\n serializedName: \"UpdateVCenterRequestProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateVCenterRequestProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n processServerId: {\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n port: {\r\n serializedName: \"port\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var UpdateVCenterRequest = {\r\n serializedName: \"UpdateVCenterRequest\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateVCenterRequest\",\r\n modelProperties: {\r\n properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"UpdateVCenterRequestProperties\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var VaultHealthProperties = {\r\n serializedName: \"VaultHealthProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VaultHealthProperties\",\r\n modelProperties: {\r\n vaultErrors: {\r\n serializedName: \"vaultErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n },\r\n protectedItemsHealth: {\r\n serializedName: \"protectedItemsHealth\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResourceHealthSummary\"\r\n }\r\n },\r\n fabricsHealth: {\r\n serializedName: \"fabricsHealth\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResourceHealthSummary\"\r\n }\r\n },\r\n containersHealth: {\r\n serializedName: \"containersHealth\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ResourceHealthSummary\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var VaultHealthDetails = {\r\n serializedName: \"VaultHealthDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VaultHealthDetails\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VaultHealthProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VCenterProperties = {\r\n serializedName: \"VCenterProperties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VCenterProperties\",\r\n modelProperties: {\r\n friendlyName: {\r\n serializedName: \"friendlyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n internalId: {\r\n serializedName: \"internalId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n lastHeartbeat: {\r\n serializedName: \"lastHeartbeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n },\r\n discoveryStatus: {\r\n serializedName: \"discoveryStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n processServerId: {\r\n serializedName: \"processServerId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n infrastructureId: {\r\n serializedName: \"infrastructureId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n port: {\r\n serializedName: \"port\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n runAsAccountId: {\r\n serializedName: \"runAsAccountId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n fabricArmResourceName: {\r\n serializedName: \"fabricArmResourceName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n healthErrors: {\r\n serializedName: \"healthErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var VCenter = {\r\n serializedName: \"VCenter\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VCenter\",\r\n modelProperties: tslib_1.__assign({}, Resource.type.modelProperties, { properties: {\r\n serializedName: \"properties\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VCenterProperties\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VirtualMachineTaskDetails = {\r\n serializedName: \"VirtualMachineTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"VirtualMachineTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { skippedReason: {\r\n serializedName: \"skippedReason\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, skippedReasonString: {\r\n serializedName: \"skippedReasonString\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, jobTask: {\r\n serializedName: \"jobTask\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobEntity\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VmmDetails = {\r\n serializedName: \"VMM\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificDetails\",\r\n className: \"VmmDetails\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificDetails.type.modelProperties)\r\n }\r\n};\r\nexport var VmmToAzureCreateNetworkMappingInput = {\r\n serializedName: \"VmmToAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificCreateNetworkMappingInput\",\r\n className: \"VmmToAzureCreateNetworkMappingInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificCreateNetworkMappingInput.type.modelProperties)\r\n }\r\n};\r\nexport var VmmToAzureNetworkMappingSettings = {\r\n serializedName: \"VmmToAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"NetworkMappingFabricSpecificSettings\",\r\n className: \"VmmToAzureNetworkMappingSettings\",\r\n modelProperties: tslib_1.__assign({}, NetworkMappingFabricSpecificSettings.type.modelProperties)\r\n }\r\n};\r\nexport var VmmToAzureUpdateNetworkMappingInput = {\r\n serializedName: \"VmmToAzure\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificUpdateNetworkMappingInput\",\r\n className: \"VmmToAzureUpdateNetworkMappingInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificUpdateNetworkMappingInput.type.modelProperties)\r\n }\r\n};\r\nexport var VmmToVmmCreateNetworkMappingInput = {\r\n serializedName: \"VmmToVmm\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificCreateNetworkMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificCreateNetworkMappingInput\",\r\n className: \"VmmToVmmCreateNetworkMappingInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificCreateNetworkMappingInput.type.modelProperties)\r\n }\r\n};\r\nexport var VmmToVmmNetworkMappingSettings = {\r\n serializedName: \"VmmToVmm\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: NetworkMappingFabricSpecificSettings.type.polymorphicDiscriminator,\r\n uberParent: \"NetworkMappingFabricSpecificSettings\",\r\n className: \"VmmToVmmNetworkMappingSettings\",\r\n modelProperties: tslib_1.__assign({}, NetworkMappingFabricSpecificSettings.type.modelProperties)\r\n }\r\n};\r\nexport var VmmToVmmUpdateNetworkMappingInput = {\r\n serializedName: \"VmmToVmm\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificUpdateNetworkMappingInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificUpdateNetworkMappingInput\",\r\n className: \"VmmToVmmUpdateNetworkMappingInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificUpdateNetworkMappingInput.type.modelProperties)\r\n }\r\n};\r\nexport var VmmVirtualMachineDetails = {\r\n serializedName: \"VmmVirtualMachine\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ConfigurationSettings\",\r\n className: \"VmmVirtualMachineDetails\",\r\n modelProperties: tslib_1.__assign({}, ConfigurationSettings.type.modelProperties, { sourceItemId: {\r\n serializedName: \"sourceItemId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, generation: {\r\n serializedName: \"generation\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osDetails: {\r\n serializedName: \"osDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OSDetails\"\r\n }\r\n }, diskDetails: {\r\n serializedName: \"diskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"DiskDetails\"\r\n }\r\n }\r\n }\r\n }, hasPhysicalDisk: {\r\n serializedName: \"hasPhysicalDisk\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hasFibreChannelAdapter: {\r\n serializedName: \"hasFibreChannelAdapter\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hasSharedVhd: {\r\n serializedName: \"hasSharedVhd\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VmNicUpdatesTaskDetails = {\r\n serializedName: \"VmNicUpdatesTaskDetails\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: TaskTypeDetails.type.polymorphicDiscriminator,\r\n uberParent: \"TaskTypeDetails\",\r\n className: \"VmNicUpdatesTaskDetails\",\r\n modelProperties: tslib_1.__assign({}, TaskTypeDetails.type.modelProperties, { vmId: {\r\n serializedName: \"vmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, nicId: {\r\n serializedName: \"nicId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, name: {\r\n serializedName: \"name\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VMwareCbtPolicyCreationInput = {\r\n serializedName: \"VMwareCbt\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificInput.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificInput\",\r\n className: \"VMwareCbtPolicyCreationInput\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificInput.type.modelProperties, { recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, crashConsistentFrequencyInMinutes: {\r\n serializedName: \"crashConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VmwareCbtPolicyDetails = {\r\n serializedName: \"VMwareCbt\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: PolicyProviderSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"PolicyProviderSpecificDetails\",\r\n className: \"VmwareCbtPolicyDetails\",\r\n modelProperties: tslib_1.__assign({}, PolicyProviderSpecificDetails.type.modelProperties, { recoveryPointThresholdInMinutes: {\r\n serializedName: \"recoveryPointThresholdInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, recoveryPointHistory: {\r\n serializedName: \"recoveryPointHistory\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, appConsistentFrequencyInMinutes: {\r\n serializedName: \"appConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, crashConsistentFrequencyInMinutes: {\r\n serializedName: \"crashConsistentFrequencyInMinutes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VMwareDetails = {\r\n serializedName: \"VMware\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificDetails\",\r\n className: \"VMwareDetails\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificDetails.type.modelProperties, { processServers: {\r\n serializedName: \"processServers\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProcessServer\"\r\n }\r\n }\r\n }\r\n }, masterTargetServers: {\r\n serializedName: \"masterTargetServers\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"MasterTargetServer\"\r\n }\r\n }\r\n }\r\n }, runAsAccounts: {\r\n serializedName: \"runAsAccounts\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RunAsAccount\"\r\n }\r\n }\r\n }\r\n }, replicationPairCount: {\r\n serializedName: \"replicationPairCount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, processServerCount: {\r\n serializedName: \"processServerCount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentCount: {\r\n serializedName: \"agentCount\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, protectedServers: {\r\n serializedName: \"protectedServers\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, systemLoad: {\r\n serializedName: \"systemLoad\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, systemLoadStatus: {\r\n serializedName: \"systemLoadStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, cpuLoad: {\r\n serializedName: \"cpuLoad\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, cpuLoadStatus: {\r\n serializedName: \"cpuLoadStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, totalMemoryInBytes: {\r\n serializedName: \"totalMemoryInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, availableMemoryInBytes: {\r\n serializedName: \"availableMemoryInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, memoryUsageStatus: {\r\n serializedName: \"memoryUsageStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, totalSpaceInBytes: {\r\n serializedName: \"totalSpaceInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, availableSpaceInBytes: {\r\n serializedName: \"availableSpaceInBytes\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, spaceUsageStatus: {\r\n serializedName: \"spaceUsageStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, webLoad: {\r\n serializedName: \"webLoad\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, webLoadStatus: {\r\n serializedName: \"webLoadStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, databaseServerLoad: {\r\n serializedName: \"databaseServerLoad\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, databaseServerLoadStatus: {\r\n serializedName: \"databaseServerLoadStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, csServiceStatus: {\r\n serializedName: \"csServiceStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentVersion: {\r\n serializedName: \"agentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, hostName: {\r\n serializedName: \"hostName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, lastHeartbeat: {\r\n serializedName: \"lastHeartbeat\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, versionStatus: {\r\n serializedName: \"versionStatus\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, sslCertExpiryDate: {\r\n serializedName: \"sslCertExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, sslCertExpiryRemainingDays: {\r\n serializedName: \"sslCertExpiryRemainingDays\",\r\n type: {\r\n name: \"Number\"\r\n }\r\n }, psTemplateVersion: {\r\n serializedName: \"psTemplateVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentExpiryDate: {\r\n serializedName: \"agentExpiryDate\",\r\n type: {\r\n name: \"DateTime\"\r\n }\r\n }, agentVersionDetails: {\r\n serializedName: \"agentVersionDetails\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VersionDetails\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VMwareV2FabricCreationInput = {\r\n serializedName: \"VMwareV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificCreationInput.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificCreationInput\",\r\n className: \"VMwareV2FabricCreationInput\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificCreationInput.type.modelProperties, { keyVaultUrl: {\r\n serializedName: \"keyVaultUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, keyVaultResourceArmId: {\r\n serializedName: \"keyVaultResourceArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VMwareV2FabricSpecificDetails = {\r\n serializedName: \"VMwareV2\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: FabricSpecificDetails.type.polymorphicDiscriminator,\r\n uberParent: \"FabricSpecificDetails\",\r\n className: \"VMwareV2FabricSpecificDetails\",\r\n modelProperties: tslib_1.__assign({}, FabricSpecificDetails.type.modelProperties, { srsServiceEndpoint: {\r\n serializedName: \"srsServiceEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, rcmServiceEndpoint: {\r\n serializedName: \"rcmServiceEndpoint\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, keyVaultUrl: {\r\n serializedName: \"keyVaultUrl\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, keyVaultResourceArmId: {\r\n serializedName: \"keyVaultResourceArmId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n } })\r\n }\r\n};\r\nexport var VMwareVirtualMachineDetails = {\r\n serializedName: \"VMwareVirtualMachine\",\r\n type: {\r\n name: \"Composite\",\r\n polymorphicDiscriminator: ConfigurationSettings.type.polymorphicDiscriminator,\r\n uberParent: \"ConfigurationSettings\",\r\n className: \"VMwareVirtualMachineDetails\",\r\n modelProperties: tslib_1.__assign({}, ConfigurationSettings.type.modelProperties, { agentGeneratedId: {\r\n serializedName: \"agentGeneratedId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentInstalled: {\r\n serializedName: \"agentInstalled\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, osType: {\r\n serializedName: \"osType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, agentVersion: {\r\n serializedName: \"agentVersion\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, ipAddress: {\r\n serializedName: \"ipAddress\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, poweredOn: {\r\n serializedName: \"poweredOn\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, vCenterInfrastructureId: {\r\n serializedName: \"vCenterInfrastructureId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, discoveryType: {\r\n serializedName: \"discoveryType\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }, diskDetails: {\r\n serializedName: \"diskDetails\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"InMageDiskDetails\"\r\n }\r\n }\r\n }\r\n }, validationErrors: {\r\n serializedName: \"validationErrors\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"HealthError\"\r\n }\r\n }\r\n }\r\n } })\r\n }\r\n};\r\nexport var OperationsDiscoveryCollection = {\r\n serializedName: \"OperationsDiscoveryCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationsDiscoveryCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"OperationsDiscovery\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var AlertCollection = {\r\n serializedName: \"AlertCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"AlertCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Alert\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var EventCollection = {\r\n serializedName: \"EventCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"EventCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Event\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var FabricCollection = {\r\n serializedName: \"FabricCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"FabricCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Fabric\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var LogicalNetworkCollection = {\r\n serializedName: \"LogicalNetworkCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"LogicalNetworkCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"LogicalNetwork\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NetworkCollection = {\r\n serializedName: \"NetworkCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Network\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var NetworkMappingCollection = {\r\n serializedName: \"NetworkMappingCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkMappingCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"NetworkMapping\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectionContainerCollection = {\r\n serializedName: \"ProtectionContainerCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainer\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectableItemCollection = {\r\n serializedName: \"ProtectableItemCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectableItemCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectableItem\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ReplicationProtectedItemCollection = {\r\n serializedName: \"ReplicationProtectedItemCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReplicationProtectedItemCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ReplicationProtectedItem\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPointCollection = {\r\n serializedName: \"RecoveryPointCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPointCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPoint\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var TargetComputeSizeCollection = {\r\n serializedName: \"TargetComputeSizeCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"TargetComputeSizeCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"TargetComputeSize\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var ProtectionContainerMappingCollection = {\r\n serializedName: \"ProtectionContainerMappingCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerMappingCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"ProtectionContainerMapping\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryServicesProviderCollection = {\r\n serializedName: \"RecoveryServicesProviderCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryServicesProviderCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryServicesProvider\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var StorageClassificationCollection = {\r\n serializedName: \"StorageClassificationCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassification\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var StorageClassificationMappingCollection = {\r\n serializedName: \"StorageClassificationMappingCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationMappingCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"StorageClassificationMapping\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var VCenterCollection = {\r\n serializedName: \"VCenterCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"VCenterCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"VCenter\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var JobCollection = {\r\n serializedName: \"JobCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"JobCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Job\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var PolicyCollection = {\r\n serializedName: \"PolicyCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"PolicyCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"Policy\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var RecoveryPlanCollection = {\r\n serializedName: \"RecoveryPlanCollection\",\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlanCollection\",\r\n modelProperties: {\r\n value: {\r\n serializedName: \"\",\r\n type: {\r\n name: \"Sequence\",\r\n element: {\r\n type: {\r\n name: \"Composite\",\r\n className: \"RecoveryPlan\"\r\n }\r\n }\r\n }\r\n },\r\n nextLink: {\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\nexport var discriminators = {\r\n 'ApplyRecoveryPointProviderSpecificInput.A2A': A2AApplyRecoveryPointInput,\r\n 'ReplicationProviderSpecificContainerCreationInput.A2A': A2AContainerCreationInput,\r\n 'ReplicationProviderSpecificContainerMappingInput.A2A': A2AContainerMappingInput,\r\n 'EnableProtectionProviderSpecificInput.A2A': A2AEnableProtectionInput,\r\n 'EventProviderSpecificDetails.A2A': A2AEventDetails,\r\n 'ProviderSpecificFailoverInput.A2A': A2AFailoverProviderInput,\r\n 'PolicyProviderSpecificInput.A2A': A2APolicyCreationInput,\r\n 'PolicyProviderSpecificDetails.A2A': A2APolicyDetails,\r\n 'ProtectionContainerMappingProviderSpecificDetails.A2A': A2AProtectionContainerMappingDetails,\r\n 'ProviderSpecificRecoveryPointDetails.A2A': A2ARecoveryPointDetails,\r\n 'ReplicationProviderSpecificSettings.A2A': A2AReplicationDetails,\r\n 'ReverseReplicationProviderSpecificInput.A2A': A2AReprotectInput,\r\n 'SwitchProtectionProviderSpecificInput.A2A': A2ASwitchProtectionInput,\r\n 'ReplicationProviderSpecificUpdateContainerMappingInput.A2A': A2AUpdateContainerMappingInput,\r\n 'UpdateReplicationProtectedItemProviderInput.A2A': A2AUpdateReplicationProtectedItemInput,\r\n 'ApplyRecoveryPointProviderSpecificInput': ApplyRecoveryPointProviderSpecificInput,\r\n 'JobDetails.AsrJobDetails': AsrJobDetails,\r\n 'TaskTypeDetails': TaskTypeDetails,\r\n 'GroupTaskDetails': GroupTaskDetails,\r\n 'TaskTypeDetails.AutomationRunbookTaskDetails': AutomationRunbookTaskDetails,\r\n 'FabricSpecificCreationInput.Azure': AzureFabricCreationInput,\r\n 'FabricSpecificDetails.Azure': AzureFabricSpecificDetails,\r\n 'FabricSpecificCreateNetworkMappingInput.AzureToAzure': AzureToAzureCreateNetworkMappingInput,\r\n 'NetworkMappingFabricSpecificSettings.AzureToAzure': AzureToAzureNetworkMappingSettings,\r\n 'FabricSpecificUpdateNetworkMappingInput.AzureToAzure': AzureToAzureUpdateNetworkMappingInput,\r\n 'ConfigurationSettings': ConfigurationSettings,\r\n 'TaskTypeDetails.ConsistencyCheckTaskDetails': ConsistencyCheckTaskDetails,\r\n 'FabricSpecificCreateNetworkMappingInput': FabricSpecificCreateNetworkMappingInput,\r\n 'PolicyProviderSpecificInput': PolicyProviderSpecificInput,\r\n 'ReplicationProviderSpecificContainerCreationInput': ReplicationProviderSpecificContainerCreationInput,\r\n 'ReplicationProviderSpecificContainerMappingInput': ReplicationProviderSpecificContainerMappingInput,\r\n 'RecoveryPlanActionDetails': RecoveryPlanActionDetails,\r\n 'DisableProtectionProviderSpecificInput': DisableProtectionProviderSpecificInput,\r\n 'EnableProtectionProviderSpecificInput': EnableProtectionProviderSpecificInput,\r\n 'EventProviderSpecificDetails': EventProviderSpecificDetails,\r\n 'EventSpecificDetails': EventSpecificDetails,\r\n 'JobDetails.ExportJobDetails': ExportJobDetails,\r\n 'FabricSpecificDetails': FabricSpecificDetails,\r\n 'FabricSpecificCreationInput': FabricSpecificCreationInput,\r\n 'TaskTypeDetails.FabricReplicationGroupTaskDetails': FabricReplicationGroupTaskDetails,\r\n 'FabricSpecificUpdateNetworkMappingInput': FabricSpecificUpdateNetworkMappingInput,\r\n 'JobDetails.FailoverJobDetails': FailoverJobDetails,\r\n 'EventProviderSpecificDetails.HyperVReplica2012': HyperVReplica2012EventDetails,\r\n 'EventProviderSpecificDetails.HyperVReplica2012R2': HyperVReplica2012R2EventDetails,\r\n 'ApplyRecoveryPointProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzureApplyRecoveryPointInput,\r\n 'EnableProtectionProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzureEnableProtectionInput,\r\n 'EventProviderSpecificDetails.HyperVReplicaAzure': HyperVReplicaAzureEventDetails,\r\n 'ProviderSpecificFailoverInput.HyperVReplicaAzureFailback': HyperVReplicaAzureFailbackProviderInput,\r\n 'ProviderSpecificFailoverInput.HyperVReplicaAzure': HyperVReplicaAzureFailoverProviderInput,\r\n 'PolicyProviderSpecificDetails.HyperVReplicaAzure': HyperVReplicaAzurePolicyDetails,\r\n 'PolicyProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzurePolicyInput,\r\n 'ReplicationProviderSpecificSettings.HyperVReplicaAzure': HyperVReplicaAzureReplicationDetails,\r\n 'ReverseReplicationProviderSpecificInput.HyperVReplicaAzure': HyperVReplicaAzureReprotectInput,\r\n 'UpdateReplicationProtectedItemProviderInput.HyperVReplicaAzure': HyperVReplicaAzureUpdateReplicationProtectedItemInput,\r\n 'EventProviderSpecificDetails.HyperVReplicaBaseEventDetails': HyperVReplicaBaseEventDetails,\r\n 'PolicyProviderSpecificDetails.HyperVReplicaBasePolicyDetails': HyperVReplicaBasePolicyDetails,\r\n 'ReplicationProviderSpecificSettings.HyperVReplicaBaseReplicationDetails': HyperVReplicaBaseReplicationDetails,\r\n 'PolicyProviderSpecificDetails.HyperVReplica2012R2': HyperVReplicaBluePolicyDetails,\r\n 'PolicyProviderSpecificInput.HyperVReplica2012R2': HyperVReplicaBluePolicyInput,\r\n 'ReplicationProviderSpecificSettings.HyperVReplica2012R2': HyperVReplicaBlueReplicationDetails,\r\n 'PolicyProviderSpecificDetails.HyperVReplica2012': HyperVReplicaPolicyDetails,\r\n 'PolicyProviderSpecificInput.HyperVReplica2012': HyperVReplicaPolicyInput,\r\n 'ReplicationProviderSpecificSettings.HyperVReplica2012': HyperVReplicaReplicationDetails,\r\n 'FabricSpecificDetails.HyperVSite': HyperVSiteDetails,\r\n 'ConfigurationSettings.HyperVVirtualMachine': HyperVVirtualMachineDetails,\r\n 'GroupTaskDetails.InlineWorkflowTaskDetails': InlineWorkflowTaskDetails,\r\n 'ApplyRecoveryPointProviderSpecificInput.InMageAzureV2': InMageAzureV2ApplyRecoveryPointInput,\r\n 'EnableProtectionProviderSpecificInput.InMageAzureV2': InMageAzureV2EnableProtectionInput,\r\n 'EventProviderSpecificDetails.InMageAzureV2': InMageAzureV2EventDetails,\r\n 'ProviderSpecificFailoverInput.InMageAzureV2': InMageAzureV2FailoverProviderInput,\r\n 'PolicyProviderSpecificDetails.InMageAzureV2': InMageAzureV2PolicyDetails,\r\n 'PolicyProviderSpecificInput.InMageAzureV2': InMageAzureV2PolicyInput,\r\n 'ProviderSpecificRecoveryPointDetails.InMageAzureV2': InMageAzureV2RecoveryPointDetails,\r\n 'ReplicationProviderSpecificSettings.InMageAzureV2': InMageAzureV2ReplicationDetails,\r\n 'ReverseReplicationProviderSpecificInput.InMageAzureV2': InMageAzureV2ReprotectInput,\r\n 'UpdateReplicationProtectedItemProviderInput.InMageAzureV2': InMageAzureV2UpdateReplicationProtectedItemInput,\r\n 'PolicyProviderSpecificDetails.InMageBasePolicyDetails': InMageBasePolicyDetails,\r\n 'DisableProtectionProviderSpecificInput.InMage': InMageDisableProtectionProviderSpecificInput,\r\n 'EnableProtectionProviderSpecificInput.InMage': InMageEnableProtectionInput,\r\n 'ProviderSpecificFailoverInput.InMage': InMageFailoverProviderInput,\r\n 'PolicyProviderSpecificDetails.InMage': InMagePolicyDetails,\r\n 'PolicyProviderSpecificInput.InMage': InMagePolicyInput,\r\n 'ReplicationProviderSpecificSettings.InMage': InMageReplicationDetails,\r\n 'ReverseReplicationProviderSpecificInput.InMage': InMageReprotectInput,\r\n 'JobDetails': JobDetails,\r\n 'EventSpecificDetails.JobStatus': JobStatusEventDetails,\r\n 'TaskTypeDetails.JobTaskDetails': JobTaskDetails,\r\n 'TaskTypeDetails.ManualActionTaskDetails': ManualActionTaskDetails,\r\n 'NetworkMappingFabricSpecificSettings': NetworkMappingFabricSpecificSettings,\r\n 'ProviderSpecificFailoverInput': ProviderSpecificFailoverInput,\r\n 'PolicyProviderSpecificDetails': PolicyProviderSpecificDetails,\r\n 'ProtectionContainerMappingProviderSpecificDetails': ProtectionContainerMappingProviderSpecificDetails,\r\n 'ProviderSpecificRecoveryPointDetails': ProviderSpecificRecoveryPointDetails,\r\n 'PolicyProviderSpecificDetails.RcmAzureMigration': RcmAzureMigrationPolicyDetails,\r\n 'RecoveryPlanProviderSpecificFailoverInput.A2A': RecoveryPlanA2AFailoverInput,\r\n 'RecoveryPlanActionDetails.AutomationRunbookActionDetails': RecoveryPlanAutomationRunbookActionDetails,\r\n 'GroupTaskDetails.RecoveryPlanGroupTaskDetails': RecoveryPlanGroupTaskDetails,\r\n 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzureFailback': RecoveryPlanHyperVReplicaAzureFailbackInput,\r\n 'RecoveryPlanProviderSpecificFailoverInput.HyperVReplicaAzure': RecoveryPlanHyperVReplicaAzureFailoverInput,\r\n 'RecoveryPlanProviderSpecificFailoverInput.InMageAzureV2': RecoveryPlanInMageAzureV2FailoverInput,\r\n 'RecoveryPlanProviderSpecificFailoverInput.InMage': RecoveryPlanInMageFailoverInput,\r\n 'RecoveryPlanActionDetails.ManualActionDetails': RecoveryPlanManualActionDetails,\r\n 'RecoveryPlanProviderSpecificFailoverInput': RecoveryPlanProviderSpecificFailoverInput,\r\n 'RecoveryPlanActionDetails.ScriptActionDetails': RecoveryPlanScriptActionDetails,\r\n 'GroupTaskDetails.RecoveryPlanShutdownGroupTaskDetails': RecoveryPlanShutdownGroupTaskDetails,\r\n 'ConfigurationSettings.ReplicationGroupDetails': ReplicationGroupDetails,\r\n 'ReplicationProviderSpecificSettings': ReplicationProviderSpecificSettings,\r\n 'ReplicationProviderSpecificUpdateContainerMappingInput': ReplicationProviderSpecificUpdateContainerMappingInput,\r\n 'ReverseReplicationProviderSpecificInput': ReverseReplicationProviderSpecificInput,\r\n 'EnableProtectionProviderSpecificInput.San': SanEnableProtectionInput,\r\n 'TaskTypeDetails.ScriptActionTaskDetails': ScriptActionTaskDetails,\r\n 'SwitchProtectionProviderSpecificInput': SwitchProtectionProviderSpecificInput,\r\n 'JobDetails.SwitchProtectionJobDetails': SwitchProtectionJobDetails,\r\n 'JobDetails.TestFailoverJobDetails': TestFailoverJobDetails,\r\n 'UpdateReplicationProtectedItemProviderInput': UpdateReplicationProtectedItemProviderInput,\r\n 'TaskTypeDetails.VirtualMachineTaskDetails': VirtualMachineTaskDetails,\r\n 'FabricSpecificDetails.VMM': VmmDetails,\r\n 'FabricSpecificCreateNetworkMappingInput.VmmToAzure': VmmToAzureCreateNetworkMappingInput,\r\n 'NetworkMappingFabricSpecificSettings.VmmToAzure': VmmToAzureNetworkMappingSettings,\r\n 'FabricSpecificUpdateNetworkMappingInput.VmmToAzure': VmmToAzureUpdateNetworkMappingInput,\r\n 'FabricSpecificCreateNetworkMappingInput.VmmToVmm': VmmToVmmCreateNetworkMappingInput,\r\n 'NetworkMappingFabricSpecificSettings.VmmToVmm': VmmToVmmNetworkMappingSettings,\r\n 'FabricSpecificUpdateNetworkMappingInput.VmmToVmm': VmmToVmmUpdateNetworkMappingInput,\r\n 'ConfigurationSettings.VmmVirtualMachine': VmmVirtualMachineDetails,\r\n 'TaskTypeDetails.VmNicUpdatesTaskDetails': VmNicUpdatesTaskDetails,\r\n 'PolicyProviderSpecificInput.VMwareCbt': VMwareCbtPolicyCreationInput,\r\n 'PolicyProviderSpecificDetails.VMwareCbt': VmwareCbtPolicyDetails,\r\n 'FabricSpecificDetails.VMware': VMwareDetails,\r\n 'FabricSpecificCreationInput.VMwareV2': VMwareV2FabricCreationInput,\r\n 'FabricSpecificDetails.VMwareV2': VMwareV2FabricSpecificDetails,\r\n 'ConfigurationSettings.VMwareVirtualMachine': VMwareVirtualMachineDetails\r\n};\r\n//# sourceMappingURL=mappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, OperationsDiscoveryCollection, OperationsDiscovery, Display, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=operationsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport var acceptLanguage = {\r\n parameterPath: \"acceptLanguage\",\r\n mapper: {\r\n serializedName: \"accept-language\",\r\n defaultValue: 'en-US',\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var alertSettingName = {\r\n parameterPath: \"alertSettingName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"alertSettingName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var apiVersion = {\r\n parameterPath: \"apiVersion\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"api-version\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var eventName = {\r\n parameterPath: \"eventName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"eventName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var fabricName = {\r\n parameterPath: \"fabricName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"fabricName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var filter = {\r\n parameterPath: [\r\n \"options\",\r\n \"filter\"\r\n ],\r\n mapper: {\r\n serializedName: \"$filter\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var jobName = {\r\n parameterPath: \"jobName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"jobName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var logicalNetworkName = {\r\n parameterPath: \"logicalNetworkName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"logicalNetworkName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var mappingName = {\r\n parameterPath: \"mappingName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"mappingName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var networkMappingName = {\r\n parameterPath: \"networkMappingName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"networkMappingName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var networkName = {\r\n parameterPath: \"networkName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"networkName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var nextPageLink = {\r\n parameterPath: \"nextPageLink\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"nextLink\",\r\n type: {\r\n name: \"String\"\r\n }\r\n },\r\n skipEncoding: true\r\n};\r\nexport var policyName = {\r\n parameterPath: \"policyName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"policyName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var protectableItemName = {\r\n parameterPath: \"protectableItemName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"protectableItemName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var protectionContainerName = {\r\n parameterPath: \"protectionContainerName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"protectionContainerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var providerName = {\r\n parameterPath: \"providerName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"providerName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var recoveryPlanName = {\r\n parameterPath: \"recoveryPlanName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"recoveryPlanName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var recoveryPointName = {\r\n parameterPath: \"recoveryPointName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"recoveryPointName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var replicatedProtectedItemName = {\r\n parameterPath: \"replicatedProtectedItemName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"replicatedProtectedItemName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var replicationProtectedItemName = {\r\n parameterPath: \"replicationProtectedItemName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"replicationProtectedItemName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var resourceGroupName = {\r\n parameterPath: \"resourceGroupName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"resourceGroupName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var resourceName = {\r\n parameterPath: \"resourceName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"resourceName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var skipToken = {\r\n parameterPath: [\r\n \"options\",\r\n \"skipToken\"\r\n ],\r\n mapper: {\r\n serializedName: \"skipToken\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var storageClassificationMappingName = {\r\n parameterPath: \"storageClassificationMappingName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"storageClassificationMappingName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var storageClassificationName = {\r\n parameterPath: \"storageClassificationName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"storageClassificationName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var subscriptionId = {\r\n parameterPath: \"subscriptionId\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"subscriptionId\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\nexport var vCenterName = {\r\n parameterPath: \"vCenterName\",\r\n mapper: {\r\n required: true,\r\n serializedName: \"vCenterName\",\r\n type: {\r\n name: \"String\"\r\n }\r\n }\r\n};\r\n//# sourceMappingURL=parameters.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/operationsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a Operations. */\r\nvar Operations = /** @class */ (function () {\r\n /**\r\n * Create a Operations.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function Operations(client) {\r\n this.client = client;\r\n }\r\n Operations.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n Operations.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return Operations;\r\n}());\r\nexport { Operations };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/operations\",\r\n urlParameters: [\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationsDiscoveryCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.OperationsDiscoveryCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=operations.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, AlertCollection, Alert, Resource, BaseResource, AlertProperties, CloudError, ConfigureAlertRequest, ConfigureAlertRequestProperties, 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, 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, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationAlertSettingsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationAlertSettingsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationAlertSettings. */\r\nvar ReplicationAlertSettings = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationAlertSettings.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationAlertSettings(client) {\r\n this.client = client;\r\n }\r\n ReplicationAlertSettings.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ReplicationAlertSettings.prototype.get = function (alertSettingName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n alertSettingName: alertSettingName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ReplicationAlertSettings.prototype.create = function (alertSettingName, request, options, callback) {\r\n return this.client.sendOperationRequest({\r\n alertSettingName: alertSettingName,\r\n request: request,\r\n options: options\r\n }, createOperationSpec, callback);\r\n };\r\n ReplicationAlertSettings.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationAlertSettings;\r\n}());\r\nexport { ReplicationAlertSettings };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AlertCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.alertSettingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Alert\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar createOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.alertSettingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"request\",\r\n mapper: tslib_1.__assign({}, Mappers.ConfigureAlertRequest, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Alert\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.AlertCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationAlertSettings.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, EventCollection, Event, Resource, BaseResource, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, HealthError, InnerHealthError, CloudError, A2AEventDetails, Alert, AlertProperties, 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, 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, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationEventsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationEventsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationEvents. */\r\nvar ReplicationEvents = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationEvents.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationEvents(client) {\r\n this.client = client;\r\n }\r\n ReplicationEvents.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ReplicationEvents.prototype.get = function (eventName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n eventName: eventName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ReplicationEvents.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationEvents;\r\n}());\r\nexport { ReplicationEvents };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.EventCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.eventName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Event\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.EventCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationEvents.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, FabricCollection, Fabric, Resource, BaseResource, FabricProperties, EncryptionDetails, FabricSpecificDetails, HealthError, InnerHealthError, CloudError, FabricCreationInput, FabricCreationInputProperties, FabricSpecificCreationInput, FailoverProcessServerRequest, FailoverProcessServerRequestProperties, RenewCertificateInput, RenewCertificateInputProperties, Alert, AlertProperties, AzureFabricCreationInput, AzureFabricSpecificDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaBaseEventDetails, HyperVSiteDetails, InMageAzureV2EventDetails, Job, JobProperties, ASRTask, TaskTypeDetails, GroupTaskDetails, JobErrorDetails, ServiceError, ProviderError, JobDetails, JobStatusEventDetails, JobTaskDetails, JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, 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, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricCreationInput, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationFabricsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationFabricsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationFabrics. */\r\nvar ReplicationFabrics = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationFabrics.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationFabrics(client) {\r\n this.client = client;\r\n }\r\n ReplicationFabrics.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ReplicationFabrics.prototype.get = function (fabricName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site)\r\n * @summary Creates an Azure Site Recovery fabric.\r\n * @param fabricName Name of the ASR fabric.\r\n * @param input Fabric creation input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.create = function (fabricName, input, options) {\r\n return this.beginCreate(fabricName, input, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to purge(force delete) an Azure Site Recovery fabric.\r\n * @summary Purges the site.\r\n * @param fabricName ASR fabric to purge.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.purge = function (fabricName, options) {\r\n return this.beginPurge(fabricName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to perform a consistency check on the fabric.\r\n * @summary Checks the consistency of the ASR fabric.\r\n * @param fabricName Fabric name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.checkConsistency = function (fabricName, options) {\r\n return this.beginCheckConsistency(fabricName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to migrate an Azure Site Recovery fabric to AAD.\r\n * @summary Migrates the site to AAD.\r\n * @param fabricName ASR fabric to migrate.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.migrateToAad = function (fabricName, options) {\r\n return this.beginMigrateToAad(fabricName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to move replications from a process server to another process server.\r\n * @summary Perform failover of the process server.\r\n * @param fabricName The name of the fabric containing the process server.\r\n * @param failoverProcessServerRequest The input to the failover process server operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.reassociateGateway = function (fabricName, failoverProcessServerRequest, options) {\r\n return this.beginReassociateGateway(fabricName, failoverProcessServerRequest, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to delete or remove an Azure Site Recovery fabric.\r\n * @summary Deletes the site.\r\n * @param fabricName ASR fabric to delete\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.deleteMethod = function (fabricName, options) {\r\n return this.beginDeleteMethod(fabricName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Renews the connection certificate for the ASR replication fabric.\r\n * @summary Renews certificate for the fabric.\r\n * @param fabricName fabric name to renew certs for.\r\n * @param renewCertificateParameter Renew certificate input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.renewCertificate = function (fabricName, renewCertificateParameter, options) {\r\n return this.beginRenewCertificate(fabricName, renewCertificateParameter, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site)\r\n * @summary Creates an Azure Site Recovery fabric.\r\n * @param fabricName Name of the ASR fabric.\r\n * @param input Fabric creation input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.beginCreate = function (fabricName, input, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n input: input,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to purge(force delete) an Azure Site Recovery fabric.\r\n * @summary Purges the site.\r\n * @param fabricName ASR fabric to purge.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.beginPurge = function (fabricName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, beginPurgeOperationSpec, options);\r\n };\r\n /**\r\n * The operation to perform a consistency check on the fabric.\r\n * @summary Checks the consistency of the ASR fabric.\r\n * @param fabricName Fabric name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.beginCheckConsistency = function (fabricName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, beginCheckConsistencyOperationSpec, options);\r\n };\r\n /**\r\n * The operation to migrate an Azure Site Recovery fabric to AAD.\r\n * @summary Migrates the site to AAD.\r\n * @param fabricName ASR fabric to migrate.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.beginMigrateToAad = function (fabricName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, beginMigrateToAadOperationSpec, options);\r\n };\r\n /**\r\n * The operation to move replications from a process server to another process server.\r\n * @summary Perform failover of the process server.\r\n * @param fabricName The name of the fabric containing the process server.\r\n * @param failoverProcessServerRequest The input to the failover process server operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.beginReassociateGateway = function (fabricName, failoverProcessServerRequest, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n failoverProcessServerRequest: failoverProcessServerRequest,\r\n options: options\r\n }, beginReassociateGatewayOperationSpec, options);\r\n };\r\n /**\r\n * The operation to delete or remove an Azure Site Recovery fabric.\r\n * @summary Deletes the site.\r\n * @param fabricName ASR fabric to delete\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.beginDeleteMethod = function (fabricName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n /**\r\n * Renews the connection certificate for the ASR replication fabric.\r\n * @summary Renews certificate for the fabric.\r\n * @param fabricName fabric name to renew certs for.\r\n * @param renewCertificateParameter Renew certificate input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationFabrics.prototype.beginRenewCertificate = function (fabricName, renewCertificateParameter, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n renewCertificateParameter: renewCertificateParameter,\r\n options: options\r\n }, beginRenewCertificateOperationSpec, options);\r\n };\r\n ReplicationFabrics.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationFabrics;\r\n}());\r\nexport { ReplicationFabrics };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.FabricCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Fabric\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"input\",\r\n mapper: tslib_1.__assign({}, Mappers.FabricCreationInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Fabric\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginPurgeOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCheckConsistencyOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Fabric\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginMigrateToAadOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginReassociateGatewayOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"failoverProcessServerRequest\",\r\n mapper: tslib_1.__assign({}, Mappers.FailoverProcessServerRequest, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Fabric\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginRenewCertificateOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"renewCertificateParameter\",\r\n mapper: tslib_1.__assign({}, Mappers.RenewCertificateInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Fabric\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.FabricCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationFabrics.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, LogicalNetworkCollection, LogicalNetwork, Resource, BaseResource, LogicalNetworkProperties, 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, ManualActionTaskDetails, 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, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationLogicalNetworksMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationLogicalNetworksMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationLogicalNetworks. */\r\nvar ReplicationLogicalNetworks = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationLogicalNetworks.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationLogicalNetworks(client) {\r\n this.client = client;\r\n }\r\n ReplicationLogicalNetworks.prototype.listByReplicationFabrics = function (fabricName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, listByReplicationFabricsOperationSpec, callback);\r\n };\r\n ReplicationLogicalNetworks.prototype.get = function (fabricName, logicalNetworkName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n logicalNetworkName: logicalNetworkName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ReplicationLogicalNetworks.prototype.listByReplicationFabricsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationFabricsNextOperationSpec, callback);\r\n };\r\n return ReplicationLogicalNetworks;\r\n}());\r\nexport { ReplicationLogicalNetworks };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationFabricsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LogicalNetworkCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationLogicalNetworks/{logicalNetworkName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.logicalNetworkName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LogicalNetwork\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationFabricsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.LogicalNetworkCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationLogicalNetworks.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, NetworkCollection, Network, Resource, BaseResource, NetworkProperties, Subnet, 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, 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, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationNetworksMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationNetworksMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationNetworks. */\r\nvar ReplicationNetworks = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationNetworks.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationNetworks(client) {\r\n this.client = client;\r\n }\r\n ReplicationNetworks.prototype.listByReplicationFabrics = function (fabricName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, listByReplicationFabricsOperationSpec, callback);\r\n };\r\n ReplicationNetworks.prototype.get = function (fabricName, networkName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n networkName: networkName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ReplicationNetworks.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ReplicationNetworks.prototype.listByReplicationFabricsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationFabricsNextOperationSpec, callback);\r\n };\r\n ReplicationNetworks.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationNetworks;\r\n}());\r\nexport { ReplicationNetworks };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationFabricsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.networkName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Network\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworks\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationFabricsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationNetworks.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, NetworkMappingCollection, NetworkMapping, Resource, BaseResource, NetworkMappingProperties, NetworkMappingFabricSpecificSettings, CloudError, CreateNetworkMappingInput, CreateNetworkMappingInputProperties, FabricSpecificCreateNetworkMappingInput, UpdateNetworkMappingInput, UpdateNetworkMappingInputProperties, FabricSpecificUpdateNetworkMappingInput, Alert, AlertProperties, AzureToAzureCreateNetworkMappingInput, AzureToAzureNetworkMappingSettings, AzureToAzureUpdateNetworkMappingInput, 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, Network, NetworkProperties, Subnet, 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, IdentityInformation, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, ScriptActionTaskDetails, StorageClassification, StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, ResourceHealthSummary, HealthErrorSummary, VCenter, VCenterProperties, VirtualMachineTaskDetails, VmmDetails, VmmToAzureCreateNetworkMappingInput, VmmToAzureNetworkMappingSettings, VmmToAzureUpdateNetworkMappingInput, VmmToVmmCreateNetworkMappingInput, VmmToVmmNetworkMappingSettings, VmmToVmmUpdateNetworkMappingInput, VmmVirtualMachineDetails, OSDetails, DiskDetails, VmNicUpdatesTaskDetails, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationNetworkMappingsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationNetworkMappingsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationNetworkMappings. */\r\nvar ReplicationNetworkMappings = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationNetworkMappings.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationNetworkMappings(client) {\r\n this.client = client;\r\n }\r\n ReplicationNetworkMappings.prototype.listByReplicationNetworks = function (fabricName, networkName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n networkName: networkName,\r\n options: options\r\n }, listByReplicationNetworksOperationSpec, callback);\r\n };\r\n ReplicationNetworkMappings.prototype.get = function (fabricName, networkName, networkMappingName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n networkName: networkName,\r\n networkMappingName: networkMappingName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create an ASR network mapping.\r\n * @summary Creates network mapping.\r\n * @param fabricName Primary fabric name.\r\n * @param networkName Primary network name.\r\n * @param networkMappingName Network mapping name.\r\n * @param input Create network mapping input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationNetworkMappings.prototype.create = function (fabricName, networkName, networkMappingName, input, options) {\r\n return this.beginCreate(fabricName, networkName, networkMappingName, input, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to delete a network mapping.\r\n * @summary Delete network mapping.\r\n * @param fabricName Primary fabric name.\r\n * @param networkName Primary network name.\r\n * @param networkMappingName ARM Resource Name for network mapping.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationNetworkMappings.prototype.deleteMethod = function (fabricName, networkName, networkMappingName, options) {\r\n return this.beginDeleteMethod(fabricName, networkName, networkMappingName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to update an ASR network mapping.\r\n * @summary Updates network mapping.\r\n * @param fabricName Primary fabric name.\r\n * @param networkName Primary network name.\r\n * @param networkMappingName Network mapping name.\r\n * @param input Update network mapping input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationNetworkMappings.prototype.update = function (fabricName, networkName, networkMappingName, input, options) {\r\n return this.beginUpdate(fabricName, networkName, networkMappingName, input, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ReplicationNetworkMappings.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create an ASR network mapping.\r\n * @summary Creates network mapping.\r\n * @param fabricName Primary fabric name.\r\n * @param networkName Primary network name.\r\n * @param networkMappingName Network mapping name.\r\n * @param input Create network mapping input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationNetworkMappings.prototype.beginCreate = function (fabricName, networkName, networkMappingName, input, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n networkName: networkName,\r\n networkMappingName: networkMappingName,\r\n input: input,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to delete a network mapping.\r\n * @summary Delete network mapping.\r\n * @param fabricName Primary fabric name.\r\n * @param networkName Primary network name.\r\n * @param networkMappingName ARM Resource Name for network mapping.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationNetworkMappings.prototype.beginDeleteMethod = function (fabricName, networkName, networkMappingName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n networkName: networkName,\r\n networkMappingName: networkMappingName,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n /**\r\n * The operation to update an ASR network mapping.\r\n * @summary Updates network mapping.\r\n * @param fabricName Primary fabric name.\r\n * @param networkName Primary network name.\r\n * @param networkMappingName Network mapping name.\r\n * @param input Update network mapping input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationNetworkMappings.prototype.beginUpdate = function (fabricName, networkName, networkMappingName, input, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n networkName: networkName,\r\n networkMappingName: networkMappingName,\r\n input: input,\r\n options: options\r\n }, beginUpdateOperationSpec, options);\r\n };\r\n ReplicationNetworkMappings.prototype.listByReplicationNetworksNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationNetworksNextOperationSpec, callback);\r\n };\r\n ReplicationNetworkMappings.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationNetworkMappings;\r\n}());\r\nexport { ReplicationNetworkMappings };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationNetworksOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.networkName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.networkName,\r\n Parameters.networkMappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkMapping\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationNetworkMappings\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.networkName,\r\n Parameters.networkMappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"input\",\r\n mapper: tslib_1.__assign({}, Mappers.CreateNetworkMappingInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkMapping\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.networkName,\r\n Parameters.networkMappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUpdateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.networkName,\r\n Parameters.networkMappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"input\",\r\n mapper: tslib_1.__assign({}, Mappers.UpdateNetworkMappingInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkMapping\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationNetworksNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.NetworkMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationNetworkMappings.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, ProtectionContainerCollection, ProtectionContainer, Resource, BaseResource, ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, CloudError, CreateProtectionContainerInput, CreateProtectionContainerInputProperties, ReplicationProviderSpecificContainerCreationInput, DiscoverProtectableItemRequest, DiscoverProtectableItemRequestProperties, SwitchProtectionInput, SwitchProtectionInputProperties, SwitchProtectionProviderSpecificInput, A2AContainerCreationInput, A2ASwitchProtectionInput, A2AVmDiskInputDetails, A2AVmManagedDiskInputDetails, DiskEncryptionInfo, DiskEncryptionKeyInfo, KeyEncryptionKeyInfo, 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, Network, NetworkProperties, Subnet, NetworkMapping, NetworkMappingProperties, NetworkMappingFabricSpecificSettings, Policy, PolicyProperties, PolicyProviderSpecificDetails, ProtectableItem, ProtectableItemProperties, ConfigurationSettings, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, RecoveryPlanProperties, CurrentScenarioDetails, RecoveryPlanGroup, RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationProtectionContainersMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationProtectionContainersMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationProtectionContainers. */\r\nvar ReplicationProtectionContainers = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationProtectionContainers.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationProtectionContainers(client) {\r\n this.client = client;\r\n }\r\n ReplicationProtectionContainers.prototype.listByReplicationFabrics = function (fabricName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, listByReplicationFabricsOperationSpec, callback);\r\n };\r\n ReplicationProtectionContainers.prototype.get = function (fabricName, protectionContainerName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * Operation to create a protection container.\r\n * @summary Create a protection container.\r\n * @param fabricName Unique fabric ARM name.\r\n * @param protectionContainerName Unique protection container ARM name.\r\n * @param creationInput Creation input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.create = function (fabricName, protectionContainerName, creationInput, options) {\r\n return this.beginCreate(fabricName, protectionContainerName, creationInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to a add a protectable item to a protection container(Add physical server.)\r\n * @summary Adds a protectable item to the replication protection container.\r\n * @param fabricName The name of the fabric.\r\n * @param protectionContainerName The name of the protection container.\r\n * @param discoverProtectableItemRequest The request object to add a protectable item.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.discoverProtectableItem = function (fabricName, protectionContainerName, discoverProtectableItemRequest, options) {\r\n return this.beginDiscoverProtectableItem(fabricName, protectionContainerName, discoverProtectableItemRequest, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to remove a protection container.\r\n * @summary Removes a protection container.\r\n * @param fabricName Unique fabric ARM name.\r\n * @param protectionContainerName Unique protection container ARM name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.deleteMethod = function (fabricName, protectionContainerName, options) {\r\n return this.beginDeleteMethod(fabricName, protectionContainerName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to switch protection from one container to another or one replication provider to\r\n * another.\r\n * @summary Switches protection from one container to another or one replication provider to\r\n * another.\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param switchInput Switch protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.switchProtection = function (fabricName, protectionContainerName, switchInput, options) {\r\n return this.beginSwitchProtection(fabricName, protectionContainerName, switchInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ReplicationProtectionContainers.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * Operation to create a protection container.\r\n * @summary Create a protection container.\r\n * @param fabricName Unique fabric ARM name.\r\n * @param protectionContainerName Unique protection container ARM name.\r\n * @param creationInput Creation input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.beginCreate = function (fabricName, protectionContainerName, creationInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n creationInput: creationInput,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to a add a protectable item to a protection container(Add physical server.)\r\n * @summary Adds a protectable item to the replication protection container.\r\n * @param fabricName The name of the fabric.\r\n * @param protectionContainerName The name of the protection container.\r\n * @param discoverProtectableItemRequest The request object to add a protectable item.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.beginDiscoverProtectableItem = function (fabricName, protectionContainerName, discoverProtectableItemRequest, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n discoverProtectableItemRequest: discoverProtectableItemRequest,\r\n options: options\r\n }, beginDiscoverProtectableItemOperationSpec, options);\r\n };\r\n /**\r\n * Operation to remove a protection container.\r\n * @summary Removes a protection container.\r\n * @param fabricName Unique fabric ARM name.\r\n * @param protectionContainerName Unique protection container ARM name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.beginDeleteMethod = function (fabricName, protectionContainerName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n /**\r\n * Operation to switch protection from one container to another or one replication provider to\r\n * another.\r\n * @summary Switches protection from one container to another or one replication provider to\r\n * another.\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param switchInput Switch protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainers.prototype.beginSwitchProtection = function (fabricName, protectionContainerName, switchInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n switchInput: switchInput,\r\n options: options\r\n }, beginSwitchProtectionOperationSpec, options);\r\n };\r\n ReplicationProtectionContainers.prototype.listByReplicationFabricsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationFabricsNextOperationSpec, callback);\r\n };\r\n ReplicationProtectionContainers.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationProtectionContainers;\r\n}());\r\nexport { ReplicationProtectionContainers };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationFabricsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainer\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainers\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"creationInput\",\r\n mapper: tslib_1.__assign({}, Mappers.CreateProtectionContainerInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainer\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDiscoverProtectableItemOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/discoverProtectableItem\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"discoverProtectableItemRequest\",\r\n mapper: tslib_1.__assign({}, Mappers.DiscoverProtectableItemRequest, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainer\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/remove\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginSwitchProtectionOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/switchprotection\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"switchInput\",\r\n mapper: tslib_1.__assign({}, Mappers.SwitchProtectionInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainer\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationFabricsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationProtectionContainers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, ProtectableItemCollection, ProtectableItem, Resource, BaseResource, ProtectableItemProperties, ConfigurationSettings, CloudError, Alert, AlertProperties, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, HealthError, InnerHealthError, Fabric, FabricProperties, EncryptionDetails, FabricSpecificDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaBaseEventDetails, HyperVSiteDetails, HyperVVirtualMachineDetails, OSDetails, DiskDetails, InMageAzureV2EventDetails, Job, JobProperties, ASRTask, TaskTypeDetails, GroupTaskDetails, JobErrorDetails, ServiceError, ProviderError, JobDetails, JobStatusEventDetails, JobTaskDetails, JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, Network, NetworkProperties, Subnet, NetworkMapping, NetworkMappingProperties, NetworkMappingFabricSpecificSettings, Policy, PolicyProperties, PolicyProviderSpecificDetails, ProtectionContainer, ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, RecoveryPlanProperties, CurrentScenarioDetails, RecoveryPlanGroup, RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, IdentityInformation, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, ScriptActionTaskDetails, StorageClassification, StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, ResourceHealthSummary, HealthErrorSummary, VCenter, VCenterProperties, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, VmNicUpdatesTaskDetails, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationProtectableItemsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationProtectableItemsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationProtectableItems. */\r\nvar ReplicationProtectableItems = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationProtectableItems.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationProtectableItems(client) {\r\n this.client = client;\r\n }\r\n ReplicationProtectableItems.prototype.listByReplicationProtectionContainers = function (fabricName, protectionContainerName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n options: options\r\n }, listByReplicationProtectionContainersOperationSpec, callback);\r\n };\r\n ReplicationProtectableItems.prototype.get = function (fabricName, protectionContainerName, protectableItemName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n protectableItemName: protectableItemName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ReplicationProtectableItems.prototype.listByReplicationProtectionContainersNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationProtectionContainersNextOperationSpec, callback);\r\n };\r\n return ReplicationProtectableItems;\r\n}());\r\nexport { ReplicationProtectableItems };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationProtectionContainersOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectableItemCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectableItems/{protectableItemName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.protectableItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectableItem\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationProtectionContainersNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectableItemCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationProtectableItems.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, ReplicationProtectedItemCollection, ReplicationProtectedItem, Resource, BaseResource, ReplicationProtectedItemProperties, HealthError, InnerHealthError, CurrentScenarioDetails, ReplicationProviderSpecificSettings, CloudError, EnableProtectionInput, EnableProtectionInputProperties, EnableProtectionProviderSpecificInput, UpdateReplicationProtectedItemInput, UpdateReplicationProtectedItemInputProperties, VMNicInputDetails, UpdateReplicationProtectedItemProviderInput, ApplyRecoveryPointInput, ApplyRecoveryPointInputProperties, ApplyRecoveryPointProviderSpecificInput, PlannedFailoverInput, PlannedFailoverInputProperties, ProviderSpecificFailoverInput, DisableProtectionInput, DisableProtectionInputProperties, DisableProtectionProviderSpecificInput, ReverseReplicationInput, ReverseReplicationInputProperties, ReverseReplicationProviderSpecificInput, TestFailoverInput, TestFailoverInputProperties, TestFailoverCleanupInput, TestFailoverCleanupInputProperties, UnplannedFailoverInput, UnplannedFailoverInputProperties, UpdateMobilityServiceRequest, UpdateMobilityServiceRequestProperties, A2AApplyRecoveryPointInput, A2AEnableProtectionInput, A2AVmDiskInputDetails, A2AVmManagedDiskInputDetails, DiskEncryptionInfo, DiskEncryptionKeyInfo, KeyEncryptionKeyInfo, A2AFailoverProviderInput, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, A2AReprotectInput, A2AUpdateReplicationProtectedItemInput, A2AVmManagedDiskUpdateDetails, Alert, AlertProperties, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, Fabric, FabricProperties, EncryptionDetails, FabricSpecificDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureApplyRecoveryPointInput, HyperVReplicaAzureEnableProtectionInput, HyperVReplicaAzureEventDetails, HyperVReplicaAzureFailbackProviderInput, HyperVReplicaAzureFailoverProviderInput, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, OSDetails, HyperVReplicaAzureReprotectInput, HyperVReplicaAzureUpdateReplicationProtectedItemInput, HyperVReplicaBaseEventDetails, HyperVReplicaBaseReplicationDetails, DiskDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaReplicationDetails, HyperVSiteDetails, InMageAzureV2ApplyRecoveryPointInput, InMageAzureV2EnableProtectionInput, InMageAzureV2EventDetails, InMageAzureV2FailoverProviderInput, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageAzureV2ReprotectInput, InMageAzureV2UpdateReplicationProtectedItemInput, InMageDisableProtectionProviderSpecificInput, InMageEnableProtectionInput, InMageDiskExclusionInput, InMageVolumeExclusionOptions, InMageDiskSignatureExclusionOptions, InMageFailoverProviderInput, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails, InMageReprotectInput, Job, JobProperties, ASRTask, TaskTypeDetails, GroupTaskDetails, JobErrorDetails, ServiceError, ProviderError, JobDetails, JobStatusEventDetails, JobTaskDetails, JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, Network, NetworkProperties, Subnet, NetworkMapping, NetworkMappingProperties, NetworkMappingFabricSpecificSettings, Policy, PolicyProperties, PolicyProviderSpecificDetails, ProtectableItem, ProtectableItemProperties, ConfigurationSettings, ProtectionContainer, ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, ProtectionContainerMapping, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, RecoveryPlanProperties, RecoveryPlanGroup, RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, IdentityInformation, VersionDetails, ReplicationGroupDetails, SanEnableProtectionInput, ScriptActionTaskDetails, StorageClassification, StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, ResourceHealthSummary, HealthErrorSummary, VCenter, VCenterProperties, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, VmNicUpdatesTaskDetails, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaPolicyDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageBasePolicyDetails, InMagePolicyDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationProtectedItemsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationProtectedItemsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationProtectedItems. */\r\nvar ReplicationProtectedItems = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationProtectedItems.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationProtectedItems(client) {\r\n this.client = client;\r\n }\r\n ReplicationProtectedItems.prototype.listByReplicationProtectionContainers = function (fabricName, protectionContainerName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n options: options\r\n }, listByReplicationProtectionContainersOperationSpec, callback);\r\n };\r\n ReplicationProtectedItems.prototype.get = function (fabricName, protectionContainerName, replicatedProtectedItemName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create an ASR replication protected item (Enable replication).\r\n * @summary Enables protection.\r\n * @param fabricName Name of the fabric.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName A name for the replication protected item.\r\n * @param input Enable Protection Input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.create = function (fabricName, protectionContainerName, replicatedProtectedItemName, input, options) {\r\n return this.beginCreate(fabricName, protectionContainerName, replicatedProtectedItemName, input, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to delete or purge a replication protected item. This operation will force delete\r\n * the replication protected item. Use the remove operation on replication protected item to\r\n * perform a clean disable replication for the item.\r\n * @summary Purges protection.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.purge = function (fabricName, protectionContainerName, replicatedProtectedItemName, options) {\r\n return this.beginPurge(fabricName, protectionContainerName, replicatedProtectedItemName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to update the recovery settings of an ASR replication protected item.\r\n * @summary Updates protection.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param updateProtectionInput Update protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.update = function (fabricName, protectionContainerName, replicatedProtectedItemName, updateProtectionInput, options) {\r\n return this.beginUpdate(fabricName, protectionContainerName, replicatedProtectedItemName, updateProtectionInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to change the recovery point of a failed over replication protected item.\r\n * @summary Change or apply recovery point.\r\n * @param fabricName The ARM fabric name.\r\n * @param protectionContainerName The protection container name.\r\n * @param replicatedProtectedItemName The replicated protected item's name.\r\n * @param applyRecoveryPointInput The ApplyRecoveryPointInput.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.applyRecoveryPoint = function (fabricName, protectionContainerName, replicatedProtectedItemName, applyRecoveryPointInput, options) {\r\n return this.beginApplyRecoveryPoint(fabricName, protectionContainerName, replicatedProtectedItemName, applyRecoveryPointInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to commit the failover of the replication protected item.\r\n * @summary Execute commit failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.failoverCommit = function (fabricName, protectionContainerName, replicatedProtectedItemName, options) {\r\n return this.beginFailoverCommit(fabricName, protectionContainerName, replicatedProtectedItemName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to initiate a planned failover of the replication protected item.\r\n * @summary Execute planned failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param failoverInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.plannedFailover = function (fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options) {\r\n return this.beginPlannedFailover(fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to disable replication on a replication protected item. This will also remove the\r\n * item.\r\n * @summary Disables protection.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param disableProtectionInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.deleteMethod = function (fabricName, protectionContainerName, replicatedProtectedItemName, disableProtectionInput, options) {\r\n return this.beginDeleteMethod(fabricName, protectionContainerName, replicatedProtectedItemName, disableProtectionInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to start resynchronize/repair replication for a replication protected item\r\n * requiring resynchronization.\r\n * @summary Resynchronize or repair replication.\r\n * @param fabricName The name of the fabric.\r\n * @param protectionContainerName The name of the container.\r\n * @param replicatedProtectedItemName The name of the replication protected item.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.repairReplication = function (fabricName, protectionContainerName, replicatedProtectedItemName, options) {\r\n return this.beginRepairReplication(fabricName, protectionContainerName, replicatedProtectedItemName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to reprotect or reverse replicate a failed over replication protected item.\r\n * @summary Execute Reverse Replication\\Reprotect\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param rrInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.reprotect = function (fabricName, protectionContainerName, replicatedProtectedItemName, rrInput, options) {\r\n return this.beginReprotect(fabricName, protectionContainerName, replicatedProtectedItemName, rrInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to perform a test failover of the replication protected item.\r\n * @summary Execute test failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param failoverInput Test failover input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.testFailover = function (fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options) {\r\n return this.beginTestFailover(fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to clean up the test failover of a replication protected item.\r\n * @summary Execute test failover cleanup.\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param cleanupInput Test failover cleanup input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.testFailoverCleanup = function (fabricName, protectionContainerName, replicatedProtectedItemName, cleanupInput, options) {\r\n return this.beginTestFailoverCleanup(fabricName, protectionContainerName, replicatedProtectedItemName, cleanupInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * Operation to initiate a failover of the replication protected item.\r\n * @summary Execute unplanned failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param failoverInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.unplannedFailover = function (fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options) {\r\n return this.beginUnplannedFailover(fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to update(push update) the installed mobility service software on a replication\r\n * protected item to the latest available version.\r\n * @summary Update the mobility service on a protected item.\r\n * @param fabricName The name of the fabric containing the protected item.\r\n * @param protectionContainerName The name of the container containing the protected item.\r\n * @param replicationProtectedItemName The name of the protected item on which the agent is to be\r\n * updated.\r\n * @param updateMobilityServiceRequest Request to update the mobility service on the protected\r\n * item.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.updateMobilityService = function (fabricName, protectionContainerName, replicationProtectedItemName, updateMobilityServiceRequest, options) {\r\n return this.beginUpdateMobilityService(fabricName, protectionContainerName, replicationProtectedItemName, updateMobilityServiceRequest, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ReplicationProtectedItems.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create an ASR replication protected item (Enable replication).\r\n * @summary Enables protection.\r\n * @param fabricName Name of the fabric.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName A name for the replication protected item.\r\n * @param input Enable Protection Input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginCreate = function (fabricName, protectionContainerName, replicatedProtectedItemName, input, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n input: input,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to delete or purge a replication protected item. This operation will force delete\r\n * the replication protected item. Use the remove operation on replication protected item to\r\n * perform a clean disable replication for the item.\r\n * @summary Purges protection.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginPurge = function (fabricName, protectionContainerName, replicatedProtectedItemName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n options: options\r\n }, beginPurgeOperationSpec, options);\r\n };\r\n /**\r\n * The operation to update the recovery settings of an ASR replication protected item.\r\n * @summary Updates protection.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param updateProtectionInput Update protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginUpdate = function (fabricName, protectionContainerName, replicatedProtectedItemName, updateProtectionInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n updateProtectionInput: updateProtectionInput,\r\n options: options\r\n }, beginUpdateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to change the recovery point of a failed over replication protected item.\r\n * @summary Change or apply recovery point.\r\n * @param fabricName The ARM fabric name.\r\n * @param protectionContainerName The protection container name.\r\n * @param replicatedProtectedItemName The replicated protected item's name.\r\n * @param applyRecoveryPointInput The ApplyRecoveryPointInput.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginApplyRecoveryPoint = function (fabricName, protectionContainerName, replicatedProtectedItemName, applyRecoveryPointInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n applyRecoveryPointInput: applyRecoveryPointInput,\r\n options: options\r\n }, beginApplyRecoveryPointOperationSpec, options);\r\n };\r\n /**\r\n * Operation to commit the failover of the replication protected item.\r\n * @summary Execute commit failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginFailoverCommit = function (fabricName, protectionContainerName, replicatedProtectedItemName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n options: options\r\n }, beginFailoverCommitOperationSpec, options);\r\n };\r\n /**\r\n * Operation to initiate a planned failover of the replication protected item.\r\n * @summary Execute planned failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param failoverInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginPlannedFailover = function (fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n failoverInput: failoverInput,\r\n options: options\r\n }, beginPlannedFailoverOperationSpec, options);\r\n };\r\n /**\r\n * The operation to disable replication on a replication protected item. This will also remove the\r\n * item.\r\n * @summary Disables protection.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param disableProtectionInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginDeleteMethod = function (fabricName, protectionContainerName, replicatedProtectedItemName, disableProtectionInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n disableProtectionInput: disableProtectionInput,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n /**\r\n * The operation to start resynchronize/repair replication for a replication protected item\r\n * requiring resynchronization.\r\n * @summary Resynchronize or repair replication.\r\n * @param fabricName The name of the fabric.\r\n * @param protectionContainerName The name of the container.\r\n * @param replicatedProtectedItemName The name of the replication protected item.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginRepairReplication = function (fabricName, protectionContainerName, replicatedProtectedItemName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n options: options\r\n }, beginRepairReplicationOperationSpec, options);\r\n };\r\n /**\r\n * Operation to reprotect or reverse replicate a failed over replication protected item.\r\n * @summary Execute Reverse Replication\\Reprotect\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param rrInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginReprotect = function (fabricName, protectionContainerName, replicatedProtectedItemName, rrInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n rrInput: rrInput,\r\n options: options\r\n }, beginReprotectOperationSpec, options);\r\n };\r\n /**\r\n * Operation to perform a test failover of the replication protected item.\r\n * @summary Execute test failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param failoverInput Test failover input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginTestFailover = function (fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n failoverInput: failoverInput,\r\n options: options\r\n }, beginTestFailoverOperationSpec, options);\r\n };\r\n /**\r\n * Operation to clean up the test failover of a replication protected item.\r\n * @summary Execute test failover cleanup.\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param cleanupInput Test failover cleanup input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginTestFailoverCleanup = function (fabricName, protectionContainerName, replicatedProtectedItemName, cleanupInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n cleanupInput: cleanupInput,\r\n options: options\r\n }, beginTestFailoverCleanupOperationSpec, options);\r\n };\r\n /**\r\n * Operation to initiate a failover of the replication protected item.\r\n * @summary Execute unplanned failover\r\n * @param fabricName Unique fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param replicatedProtectedItemName Replication protected item name.\r\n * @param failoverInput Disable protection input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginUnplannedFailover = function (fabricName, protectionContainerName, replicatedProtectedItemName, failoverInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n failoverInput: failoverInput,\r\n options: options\r\n }, beginUnplannedFailoverOperationSpec, options);\r\n };\r\n /**\r\n * The operation to update(push update) the installed mobility service software on a replication\r\n * protected item to the latest available version.\r\n * @summary Update the mobility service on a protected item.\r\n * @param fabricName The name of the fabric containing the protected item.\r\n * @param protectionContainerName The name of the container containing the protected item.\r\n * @param replicationProtectedItemName The name of the protected item on which the agent is to be\r\n * updated.\r\n * @param updateMobilityServiceRequest Request to update the mobility service on the protected\r\n * item.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectedItems.prototype.beginUpdateMobilityService = function (fabricName, protectionContainerName, replicationProtectedItemName, updateMobilityServiceRequest, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicationProtectedItemName: replicationProtectedItemName,\r\n updateMobilityServiceRequest: updateMobilityServiceRequest,\r\n options: options\r\n }, beginUpdateMobilityServiceOperationSpec, options);\r\n };\r\n ReplicationProtectedItems.prototype.listByReplicationProtectionContainersNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationProtectionContainersNextOperationSpec, callback);\r\n };\r\n ReplicationProtectedItems.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationProtectedItems;\r\n}());\r\nexport { ReplicationProtectedItems };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationProtectionContainersOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItemCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.skipToken,\r\n Parameters.filter\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItemCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"input\",\r\n mapper: tslib_1.__assign({}, Mappers.EnableProtectionInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginPurgeOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUpdateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"updateProtectionInput\",\r\n mapper: tslib_1.__assign({}, Mappers.UpdateReplicationProtectedItemInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginApplyRecoveryPointOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"applyRecoveryPointInput\",\r\n mapper: tslib_1.__assign({}, Mappers.ApplyRecoveryPointInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginFailoverCommitOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginPlannedFailoverOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"failoverInput\",\r\n mapper: tslib_1.__assign({}, Mappers.PlannedFailoverInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"disableProtectionInput\",\r\n mapper: tslib_1.__assign({}, Mappers.DisableProtectionInput, { required: true })\r\n },\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginRepairReplicationOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginReprotectOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"rrInput\",\r\n mapper: tslib_1.__assign({}, Mappers.ReverseReplicationInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginTestFailoverOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"failoverInput\",\r\n mapper: tslib_1.__assign({}, Mappers.TestFailoverInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginTestFailoverCleanupOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"cleanupInput\",\r\n mapper: tslib_1.__assign({}, Mappers.TestFailoverCleanupInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUnplannedFailoverOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"failoverInput\",\r\n mapper: tslib_1.__assign({}, Mappers.UnplannedFailoverInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUpdateMobilityServiceOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicationProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"updateMobilityServiceRequest\",\r\n mapper: tslib_1.__assign({}, Mappers.UpdateMobilityServiceRequest, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItem\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationProtectionContainersNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItemCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ReplicationProtectedItemCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationProtectedItems.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, RecoveryPointCollection, RecoveryPoint, Resource, BaseResource, RecoveryPointProperties, ProviderSpecificRecoveryPointDetails, CloudError, A2ARecoveryPointDetails, Alert, AlertProperties, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, HealthError, InnerHealthError, Fabric, FabricProperties, EncryptionDetails, FabricSpecificDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaBaseEventDetails, HyperVSiteDetails, InMageAzureV2EventDetails, InMageAzureV2RecoveryPointDetails, Job, JobProperties, ASRTask, TaskTypeDetails, GroupTaskDetails, JobErrorDetails, ServiceError, ProviderError, JobDetails, JobStatusEventDetails, JobTaskDetails, JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, 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, RecoveryServicesProvider, RecoveryServicesProviderProperties, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=recoveryPointsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/recoveryPointsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a RecoveryPoints. */\r\nvar RecoveryPoints = /** @class */ (function () {\r\n /**\r\n * Create a RecoveryPoints.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function RecoveryPoints(client) {\r\n this.client = client;\r\n }\r\n RecoveryPoints.prototype.listByReplicationProtectedItems = function (fabricName, protectionContainerName, replicatedProtectedItemName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n options: options\r\n }, listByReplicationProtectedItemsOperationSpec, callback);\r\n };\r\n RecoveryPoints.prototype.get = function (fabricName, protectionContainerName, replicatedProtectedItemName, recoveryPointName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n recoveryPointName: recoveryPointName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n RecoveryPoints.prototype.listByReplicationProtectedItemsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationProtectedItemsNextOperationSpec, callback);\r\n };\r\n return RecoveryPoints;\r\n}());\r\nexport { RecoveryPoints };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationProtectedItemsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryPointCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName,\r\n Parameters.recoveryPointName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryPoint\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationProtectedItemsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryPointCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=recoveryPoints.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, TargetComputeSizeCollection, TargetComputeSize, TargetComputeSizeProperties, ComputeSizeErrorDetails, CloudError } from \"../models/mappers\";\r\n//# sourceMappingURL=targetComputeSizesMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/targetComputeSizesMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a TargetComputeSizes. */\r\nvar TargetComputeSizes = /** @class */ (function () {\r\n /**\r\n * Create a TargetComputeSizes.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function TargetComputeSizes(client) {\r\n this.client = client;\r\n }\r\n TargetComputeSizes.prototype.listByReplicationProtectedItems = function (fabricName, protectionContainerName, replicatedProtectedItemName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n replicatedProtectedItemName: replicatedProtectedItemName,\r\n options: options\r\n }, listByReplicationProtectedItemsOperationSpec, callback);\r\n };\r\n TargetComputeSizes.prototype.listByReplicationProtectedItemsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationProtectedItemsNextOperationSpec, callback);\r\n };\r\n return TargetComputeSizes;\r\n}());\r\nexport { TargetComputeSizes };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationProtectedItemsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.replicatedProtectedItemName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TargetComputeSizeCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationProtectedItemsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.TargetComputeSizeCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=targetComputeSizes.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, ProtectionContainerMappingCollection, ProtectionContainerMapping, Resource, BaseResource, ProtectionContainerMappingProperties, ProtectionContainerMappingProviderSpecificDetails, HealthError, InnerHealthError, CloudError, CreateProtectionContainerMappingInput, CreateProtectionContainerMappingInputProperties, ReplicationProviderSpecificContainerMappingInput, UpdateProtectionContainerMappingInput, UpdateProtectionContainerMappingInputProperties, ReplicationProviderSpecificUpdateContainerMappingInput, RemoveProtectionContainerMappingInput, RemoveProtectionContainerMappingInputProperties, ReplicationProviderContainerUnmappingInput, A2AContainerMappingInput, A2AProtectionContainerMappingDetails, A2AUpdateContainerMappingInput, 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, Network, NetworkProperties, Subnet, NetworkMapping, NetworkMappingProperties, NetworkMappingFabricSpecificSettings, Policy, PolicyProperties, PolicyProviderSpecificDetails, ProtectableItem, ProtectableItemProperties, ConfigurationSettings, ProtectionContainer, ProtectionContainerProperties, ProtectionContainerFabricSpecificDetails, RcmAzureMigrationPolicyDetails, RecoveryPlan, RecoveryPlanProperties, CurrentScenarioDetails, RecoveryPlanGroup, RecoveryPlanProtectedItem, RecoveryPlanAction, RecoveryPlanActionDetails, RecoveryPlanAutomationRunbookActionDetails, RecoveryPlanGroupTaskDetails, RecoveryPlanManualActionDetails, RecoveryPlanScriptActionDetails, RecoveryPlanShutdownGroupTaskDetails, RecoveryPoint, RecoveryPointProperties, ProviderSpecificRecoveryPointDetails, RecoveryServicesProvider, RecoveryServicesProviderProperties, IdentityInformation, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationProtectionContainerMappingsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationProtectionContainerMappingsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationProtectionContainerMappings. */\r\nvar ReplicationProtectionContainerMappings = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationProtectionContainerMappings.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationProtectionContainerMappings(client) {\r\n this.client = client;\r\n }\r\n ReplicationProtectionContainerMappings.prototype.listByReplicationProtectionContainers = function (fabricName, protectionContainerName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n options: options\r\n }, listByReplicationProtectionContainersOperationSpec, callback);\r\n };\r\n ReplicationProtectionContainerMappings.prototype.get = function (fabricName, protectionContainerName, mappingName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n mappingName: mappingName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create a protection container mapping.\r\n * @summary Create protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param creationInput Mapping creation input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.create = function (fabricName, protectionContainerName, mappingName, creationInput, options) {\r\n return this.beginCreate(fabricName, protectionContainerName, mappingName, creationInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to purge(force delete) a protection container mapping\r\n * @summary Purge protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.purge = function (fabricName, protectionContainerName, mappingName, options) {\r\n return this.beginPurge(fabricName, protectionContainerName, mappingName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to update protection container mapping.\r\n * @summary Update protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param updateInput Mapping update input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.update = function (fabricName, protectionContainerName, mappingName, updateInput, options) {\r\n return this.beginUpdate(fabricName, protectionContainerName, mappingName, updateInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to delete or remove a protection container mapping.\r\n * @summary Remove protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param removalInput Removal input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.deleteMethod = function (fabricName, protectionContainerName, mappingName, removalInput, options) {\r\n return this.beginDeleteMethod(fabricName, protectionContainerName, mappingName, removalInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ReplicationProtectionContainerMappings.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create a protection container mapping.\r\n * @summary Create protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param creationInput Mapping creation input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.beginCreate = function (fabricName, protectionContainerName, mappingName, creationInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n mappingName: mappingName,\r\n creationInput: creationInput,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to purge(force delete) a protection container mapping\r\n * @summary Purge protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.beginPurge = function (fabricName, protectionContainerName, mappingName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n mappingName: mappingName,\r\n options: options\r\n }, beginPurgeOperationSpec, options);\r\n };\r\n /**\r\n * The operation to update protection container mapping.\r\n * @summary Update protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param updateInput Mapping update input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.beginUpdate = function (fabricName, protectionContainerName, mappingName, updateInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n mappingName: mappingName,\r\n updateInput: updateInput,\r\n options: options\r\n }, beginUpdateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to delete or remove a protection container mapping.\r\n * @summary Remove protection container mapping.\r\n * @param fabricName Fabric name.\r\n * @param protectionContainerName Protection container name.\r\n * @param mappingName Protection container mapping name.\r\n * @param removalInput Removal input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationProtectionContainerMappings.prototype.beginDeleteMethod = function (fabricName, protectionContainerName, mappingName, removalInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n protectionContainerName: protectionContainerName,\r\n mappingName: mappingName,\r\n removalInput: removalInput,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n ReplicationProtectionContainerMappings.prototype.listByReplicationProtectionContainersNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationProtectionContainersNextOperationSpec, callback);\r\n };\r\n ReplicationProtectionContainerMappings.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationProtectionContainerMappings;\r\n}());\r\nexport { ReplicationProtectionContainerMappings };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationProtectionContainersOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.mappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerMapping\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.mappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"creationInput\",\r\n mapper: tslib_1.__assign({}, Mappers.CreateProtectionContainerMappingInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerMapping\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginPurgeOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.mappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUpdateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.mappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"updateInput\",\r\n mapper: tslib_1.__assign({}, Mappers.UpdateProtectionContainerMappingInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerMapping\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.protectionContainerName,\r\n Parameters.mappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"removalInput\",\r\n mapper: tslib_1.__assign({}, Mappers.RemoveProtectionContainerMappingInput, { required: true })\r\n },\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationProtectionContainersNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.ProtectionContainerMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationProtectionContainerMappings.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, RecoveryServicesProviderCollection, RecoveryServicesProvider, Resource, BaseResource, RecoveryServicesProviderProperties, HealthError, InnerHealthError, IdentityInformation, VersionDetails, CloudError, 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, 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, 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, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationRecoveryServicesProvidersMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationRecoveryServicesProvidersMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationRecoveryServicesProviders. */\r\nvar ReplicationRecoveryServicesProviders = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationRecoveryServicesProviders.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationRecoveryServicesProviders(client) {\r\n this.client = client;\r\n }\r\n ReplicationRecoveryServicesProviders.prototype.listByReplicationFabrics = function (fabricName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, listByReplicationFabricsOperationSpec, callback);\r\n };\r\n ReplicationRecoveryServicesProviders.prototype.get = function (fabricName, providerName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n providerName: providerName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to purge(force delete) a recovery services provider from the vault.\r\n * @summary Purges recovery service provider from fabric\r\n * @param fabricName Fabric name.\r\n * @param providerName Recovery services provider name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationRecoveryServicesProviders.prototype.purge = function (fabricName, providerName, options) {\r\n return this.beginPurge(fabricName, providerName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to refresh the information from the recovery services provider.\r\n * @summary Refresh details from the recovery services provider.\r\n * @param fabricName Fabric name.\r\n * @param providerName Recovery services provider name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationRecoveryServicesProviders.prototype.refreshProvider = function (fabricName, providerName, options) {\r\n return this.beginRefreshProvider(fabricName, providerName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to removes/delete(unregister) a recovery services provider from the vault\r\n * @summary Deletes provider from fabric. Note: Deleting provider for any fabric other than\r\n * SingleHost is unsupported. To maintain backward compatibility for released clients the object\r\n * \"deleteRspInput\" is used (if the object is empty we assume that it is old client and continue\r\n * the old behavior).\r\n * @param fabricName Fabric name.\r\n * @param providerName Recovery services provider name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationRecoveryServicesProviders.prototype.deleteMethod = function (fabricName, providerName, options) {\r\n return this.beginDeleteMethod(fabricName, providerName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ReplicationRecoveryServicesProviders.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to purge(force delete) a recovery services provider from the vault.\r\n * @summary Purges recovery service provider from fabric\r\n * @param fabricName Fabric name.\r\n * @param providerName Recovery services provider name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationRecoveryServicesProviders.prototype.beginPurge = function (fabricName, providerName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n providerName: providerName,\r\n options: options\r\n }, beginPurgeOperationSpec, options);\r\n };\r\n /**\r\n * The operation to refresh the information from the recovery services provider.\r\n * @summary Refresh details from the recovery services provider.\r\n * @param fabricName Fabric name.\r\n * @param providerName Recovery services provider name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationRecoveryServicesProviders.prototype.beginRefreshProvider = function (fabricName, providerName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n providerName: providerName,\r\n options: options\r\n }, beginRefreshProviderOperationSpec, options);\r\n };\r\n /**\r\n * The operation to removes/delete(unregister) a recovery services provider from the vault\r\n * @summary Deletes provider from fabric. Note: Deleting provider for any fabric other than\r\n * SingleHost is unsupported. To maintain backward compatibility for released clients the object\r\n * \"deleteRspInput\" is used (if the object is empty we assume that it is old client and continue\r\n * the old behavior).\r\n * @param fabricName Fabric name.\r\n * @param providerName Recovery services provider name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationRecoveryServicesProviders.prototype.beginDeleteMethod = function (fabricName, providerName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n providerName: providerName,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n ReplicationRecoveryServicesProviders.prototype.listByReplicationFabricsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationFabricsNextOperationSpec, callback);\r\n };\r\n ReplicationRecoveryServicesProviders.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationRecoveryServicesProviders;\r\n}());\r\nexport { ReplicationRecoveryServicesProviders };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationFabricsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryServicesProviderCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.providerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryServicesProvider\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryServicesProviders\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryServicesProviderCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginPurgeOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.providerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginRefreshProviderOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/refreshProvider\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.providerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryServicesProvider\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}/remove\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.providerName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationFabricsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryServicesProviderCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.RecoveryServicesProviderCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationRecoveryServicesProviders.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, StorageClassificationCollection, StorageClassification, Resource, BaseResource, StorageClassificationProperties, 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, 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, IdentityInformation, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, ScriptActionTaskDetails, StorageClassificationMapping, StorageClassificationMappingProperties, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, ResourceHealthSummary, HealthErrorSummary, VCenter, VCenterProperties, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, OSDetails, DiskDetails, VmNicUpdatesTaskDetails, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationStorageClassificationsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationStorageClassificationsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationStorageClassifications. */\r\nvar ReplicationStorageClassifications = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationStorageClassifications.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationStorageClassifications(client) {\r\n this.client = client;\r\n }\r\n ReplicationStorageClassifications.prototype.listByReplicationFabrics = function (fabricName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, listByReplicationFabricsOperationSpec, callback);\r\n };\r\n ReplicationStorageClassifications.prototype.get = function (fabricName, storageClassificationName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n storageClassificationName: storageClassificationName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n ReplicationStorageClassifications.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ReplicationStorageClassifications.prototype.listByReplicationFabricsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationFabricsNextOperationSpec, callback);\r\n };\r\n ReplicationStorageClassifications.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationStorageClassifications;\r\n}());\r\nexport { ReplicationStorageClassifications };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationFabricsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.storageClassificationName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassification\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassifications\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationFabricsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationStorageClassifications.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, StorageClassificationMappingCollection, StorageClassificationMapping, Resource, BaseResource, StorageClassificationMappingProperties, CloudError, StorageClassificationMappingInput, StorageMappingInputProperties, 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, 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, IdentityInformation, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, ScriptActionTaskDetails, StorageClassification, StorageClassificationProperties, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, ResourceHealthSummary, HealthErrorSummary, VCenter, VCenterProperties, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, OSDetails, DiskDetails, VmNicUpdatesTaskDetails, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationStorageClassificationMappingsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationStorageClassificationMappingsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationStorageClassificationMappings. */\r\nvar ReplicationStorageClassificationMappings = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationStorageClassificationMappings.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationStorageClassificationMappings(client) {\r\n this.client = client;\r\n }\r\n ReplicationStorageClassificationMappings.prototype.listByReplicationStorageClassifications = function (fabricName, storageClassificationName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n storageClassificationName: storageClassificationName,\r\n options: options\r\n }, listByReplicationStorageClassificationsOperationSpec, callback);\r\n };\r\n ReplicationStorageClassificationMappings.prototype.get = function (fabricName, storageClassificationName, storageClassificationMappingName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n storageClassificationName: storageClassificationName,\r\n storageClassificationMappingName: storageClassificationMappingName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create a storage classification mapping.\r\n * @summary Create storage classification mapping.\r\n * @param fabricName Fabric name.\r\n * @param storageClassificationName Storage classification name.\r\n * @param storageClassificationMappingName Storage classification mapping name.\r\n * @param pairingInput Pairing input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationStorageClassificationMappings.prototype.create = function (fabricName, storageClassificationName, storageClassificationMappingName, pairingInput, options) {\r\n return this.beginCreate(fabricName, storageClassificationName, storageClassificationMappingName, pairingInput, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to delete a storage classification mapping.\r\n * @summary Delete a storage classification mapping.\r\n * @param fabricName Fabric name.\r\n * @param storageClassificationName Storage classification name.\r\n * @param storageClassificationMappingName Storage classification mapping name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationStorageClassificationMappings.prototype.deleteMethod = function (fabricName, storageClassificationName, storageClassificationMappingName, options) {\r\n return this.beginDeleteMethod(fabricName, storageClassificationName, storageClassificationMappingName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ReplicationStorageClassificationMappings.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create a storage classification mapping.\r\n * @summary Create storage classification mapping.\r\n * @param fabricName Fabric name.\r\n * @param storageClassificationName Storage classification name.\r\n * @param storageClassificationMappingName Storage classification mapping name.\r\n * @param pairingInput Pairing input.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationStorageClassificationMappings.prototype.beginCreate = function (fabricName, storageClassificationName, storageClassificationMappingName, pairingInput, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n storageClassificationName: storageClassificationName,\r\n storageClassificationMappingName: storageClassificationMappingName,\r\n pairingInput: pairingInput,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to delete a storage classification mapping.\r\n * @summary Delete a storage classification mapping.\r\n * @param fabricName Fabric name.\r\n * @param storageClassificationName Storage classification name.\r\n * @param storageClassificationMappingName Storage classification mapping name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationStorageClassificationMappings.prototype.beginDeleteMethod = function (fabricName, storageClassificationName, storageClassificationMappingName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n storageClassificationName: storageClassificationName,\r\n storageClassificationMappingName: storageClassificationMappingName,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n ReplicationStorageClassificationMappings.prototype.listByReplicationStorageClassificationsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationStorageClassificationsNextOperationSpec, callback);\r\n };\r\n ReplicationStorageClassificationMappings.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationStorageClassificationMappings;\r\n}());\r\nexport { ReplicationStorageClassificationMappings };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationStorageClassificationsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.storageClassificationName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.storageClassificationName,\r\n Parameters.storageClassificationMappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationMapping\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationStorageClassificationMappings\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.storageClassificationName,\r\n Parameters.storageClassificationMappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"pairingInput\",\r\n mapper: tslib_1.__assign({}, Mappers.StorageClassificationMappingInput, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationMapping\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.storageClassificationName,\r\n Parameters.storageClassificationMappingName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationStorageClassificationsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.StorageClassificationMappingCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationStorageClassificationMappings.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, VCenterCollection, VCenter, Resource, BaseResource, VCenterProperties, HealthError, InnerHealthError, CloudError, AddVCenterRequest, AddVCenterRequestProperties, UpdateVCenterRequest, UpdateVCenterRequestProperties, 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, 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, IdentityInformation, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, ScriptActionTaskDetails, StorageClassification, StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, SwitchProtectionJobDetails, TestFailoverJobDetails, FailoverReplicationProtectedItemDetails, VaultHealthDetails, VaultHealthProperties, ResourceHealthSummary, HealthErrorSummary, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, OSDetails, DiskDetails, VmNicUpdatesTaskDetails, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationvCentersMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationvCentersMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationvCenters. */\r\nvar ReplicationvCenters = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationvCenters.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationvCenters(client) {\r\n this.client = client;\r\n }\r\n ReplicationvCenters.prototype.listByReplicationFabrics = function (fabricName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n options: options\r\n }, listByReplicationFabricsOperationSpec, callback);\r\n };\r\n ReplicationvCenters.prototype.get = function (fabricName, vCenterName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n fabricName: fabricName,\r\n vCenterName: vCenterName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create a vCenter object..\r\n * @summary Add vCenter.\r\n * @param fabricName Fabric name.\r\n * @param vCenterName vCenter name.\r\n * @param addVCenterRequest The input to the add vCenter operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationvCenters.prototype.create = function (fabricName, vCenterName, addVCenterRequest, options) {\r\n return this.beginCreate(fabricName, vCenterName, addVCenterRequest, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to remove(unregister) a registered vCenter server from the vault.\r\n * @summary Remove vCenter operation.\r\n * @param fabricName Fabric name.\r\n * @param vCenterName vCenter name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationvCenters.prototype.deleteMethod = function (fabricName, vCenterName, options) {\r\n return this.beginDeleteMethod(fabricName, vCenterName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to update a registered vCenter.\r\n * @summary Update vCenter operation.\r\n * @param fabricName Fabric name.\r\n * @param vCenterName vCeneter name\r\n * @param updateVCenterRequest The input to the update vCenter operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationvCenters.prototype.update = function (fabricName, vCenterName, updateVCenterRequest, options) {\r\n return this.beginUpdate(fabricName, vCenterName, updateVCenterRequest, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n ReplicationvCenters.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create a vCenter object..\r\n * @summary Add vCenter.\r\n * @param fabricName Fabric name.\r\n * @param vCenterName vCenter name.\r\n * @param addVCenterRequest The input to the add vCenter operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationvCenters.prototype.beginCreate = function (fabricName, vCenterName, addVCenterRequest, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n vCenterName: vCenterName,\r\n addVCenterRequest: addVCenterRequest,\r\n options: options\r\n }, beginCreateOperationSpec, options);\r\n };\r\n /**\r\n * The operation to remove(unregister) a registered vCenter server from the vault.\r\n * @summary Remove vCenter operation.\r\n * @param fabricName Fabric name.\r\n * @param vCenterName vCenter name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationvCenters.prototype.beginDeleteMethod = function (fabricName, vCenterName, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n vCenterName: vCenterName,\r\n options: options\r\n }, beginDeleteMethodOperationSpec, options);\r\n };\r\n /**\r\n * The operation to update a registered vCenter.\r\n * @summary Update vCenter operation.\r\n * @param fabricName Fabric name.\r\n * @param vCenterName vCeneter name\r\n * @param updateVCenterRequest The input to the update vCenter operation.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationvCenters.prototype.beginUpdate = function (fabricName, vCenterName, updateVCenterRequest, options) {\r\n return this.client.sendLRORequest({\r\n fabricName: fabricName,\r\n vCenterName: vCenterName,\r\n updateVCenterRequest: updateVCenterRequest,\r\n options: options\r\n }, beginUpdateOperationSpec, options);\r\n };\r\n ReplicationvCenters.prototype.listByReplicationFabricsNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listByReplicationFabricsNextOperationSpec, callback);\r\n };\r\n ReplicationvCenters.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationvCenters;\r\n}());\r\nexport { ReplicationvCenters };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listByReplicationFabricsOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.VCenterCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.vCenterName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.VCenter\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationvCenters\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.VCenterCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCreateOperationSpec = {\r\n httpMethod: \"PUT\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.vCenterName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"addVCenterRequest\",\r\n mapper: tslib_1.__assign({}, Mappers.AddVCenterRequest, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.VCenter\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginDeleteMethodOperationSpec = {\r\n httpMethod: \"DELETE\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.vCenterName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 202: {},\r\n 204: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginUpdateOperationSpec = {\r\n httpMethod: \"PATCH\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationvCenters/{vCenterName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.fabricName,\r\n Parameters.vCenterName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"updateVCenterRequest\",\r\n mapper: tslib_1.__assign({}, Mappers.UpdateVCenterRequest, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.VCenter\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listByReplicationFabricsNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.VCenterCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.VCenterCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationvCenters.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, JobCollection, Job, Resource, BaseResource, JobProperties, ASRTask, TaskTypeDetails, GroupTaskDetails, JobErrorDetails, ServiceError, ProviderError, JobDetails, CloudError, ResumeJobParams, ResumeJobParamsProperties, JobQueryParameter, Alert, AlertProperties, AsrJobDetails, AutomationRunbookTaskDetails, ConsistencyCheckTaskDetails, InconsistentVmDetails, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, HealthError, InnerHealthError, ExportJobDetails, Fabric, FabricProperties, EncryptionDetails, FabricSpecificDetails, FabricReplicationGroupTaskDetails, JobEntity, FailoverJobDetails, FailoverReplicationProtectedItemDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaBaseEventDetails, HyperVSiteDetails, InlineWorkflowTaskDetails, InMageAzureV2EventDetails, JobStatusEventDetails, JobTaskDetails, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, 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, IdentityInformation, VersionDetails, ReplicationGroupDetails, ReplicationProtectedItem, ReplicationProtectedItemProperties, ReplicationProviderSpecificSettings, ScriptActionTaskDetails, StorageClassification, StorageClassificationProperties, StorageClassificationMapping, StorageClassificationMappingProperties, SwitchProtectionJobDetails, TestFailoverJobDetails, VaultHealthDetails, VaultHealthProperties, ResourceHealthSummary, HealthErrorSummary, VCenter, VCenterProperties, VirtualMachineTaskDetails, VmmDetails, VmmToAzureNetworkMappingSettings, VmmToVmmNetworkMappingSettings, VmmVirtualMachineDetails, OSDetails, DiskDetails, VmNicUpdatesTaskDetails, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2APolicyDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaPolicyDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InMageAzureV2PolicyDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageBasePolicyDetails, InMagePolicyDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationJobsMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationJobsMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationJobs. */\r\nvar ReplicationJobs = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationJobs.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationJobs(client) {\r\n this.client = client;\r\n }\r\n ReplicationJobs.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ReplicationJobs.prototype.get = function (jobName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n jobName: jobName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to cancel an Azure Site Recovery job.\r\n * @summary Cancels the specified job.\r\n * @param jobName Job indentifier.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.cancel = function (jobName, options) {\r\n return this.beginCancel(jobName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to restart an Azure Site Recovery job.\r\n * @summary Restarts the specified job.\r\n * @param jobName Job identifier.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.restart = function (jobName, options) {\r\n return this.beginRestart(jobName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to resume an Azure Site Recovery job\r\n * @summary Resumes the specified job.\r\n * @param jobName Job identifier.\r\n * @param resumeJobParams Resume rob comments.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.resume = function (jobName, resumeJobParams, options) {\r\n return this.beginResume(jobName, resumeJobParams, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to export the details of the Azure Site Recovery jobs of the vault.\r\n * @summary Exports the details of the Azure Site Recovery jobs of the vault.\r\n * @param jobQueryParameter job query filter.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.exportMethod = function (jobQueryParameter, options) {\r\n return this.beginExportMethod(jobQueryParameter, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to cancel an Azure Site Recovery job.\r\n * @summary Cancels the specified job.\r\n * @param jobName Job indentifier.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.beginCancel = function (jobName, options) {\r\n return this.client.sendLRORequest({\r\n jobName: jobName,\r\n options: options\r\n }, beginCancelOperationSpec, options);\r\n };\r\n /**\r\n * The operation to restart an Azure Site Recovery job.\r\n * @summary Restarts the specified job.\r\n * @param jobName Job identifier.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.beginRestart = function (jobName, options) {\r\n return this.client.sendLRORequest({\r\n jobName: jobName,\r\n options: options\r\n }, beginRestartOperationSpec, options);\r\n };\r\n /**\r\n * The operation to resume an Azure Site Recovery job\r\n * @summary Resumes the specified job.\r\n * @param jobName Job identifier.\r\n * @param resumeJobParams Resume rob comments.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.beginResume = function (jobName, resumeJobParams, options) {\r\n return this.client.sendLRORequest({\r\n jobName: jobName,\r\n resumeJobParams: resumeJobParams,\r\n options: options\r\n }, beginResumeOperationSpec, options);\r\n };\r\n /**\r\n * The operation to export the details of the Azure Site Recovery jobs of the vault.\r\n * @summary Exports the details of the Azure Site Recovery jobs of the vault.\r\n * @param jobQueryParameter job query filter.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationJobs.prototype.beginExportMethod = function (jobQueryParameter, options) {\r\n return this.client.sendLRORequest({\r\n jobQueryParameter: jobQueryParameter,\r\n options: options\r\n }, beginExportMethodOperationSpec, options);\r\n };\r\n ReplicationJobs.prototype.listNext = function (nextPageLink, options, callback) {\r\n return this.client.sendOperationRequest({\r\n nextPageLink: nextPageLink,\r\n options: options\r\n }, listNextOperationSpec, callback);\r\n };\r\n return ReplicationJobs;\r\n}());\r\nexport { ReplicationJobs };\r\n// Operation Specifications\r\nvar serializer = new msRest.Serializer(Mappers);\r\nvar listOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion,\r\n Parameters.filter\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar getOperationSpec = {\r\n httpMethod: \"GET\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Job\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginCancelOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/cancel\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Job\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginRestartOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/restart\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Job\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginResumeOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/{jobName}/resume\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId,\r\n Parameters.jobName\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"resumeJobParams\",\r\n mapper: tslib_1.__assign({}, Mappers.ResumeJobParams, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Job\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar beginExportMethodOperationSpec = {\r\n httpMethod: \"POST\",\r\n path: \"Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationJobs/export\",\r\n urlParameters: [\r\n Parameters.resourceName,\r\n Parameters.resourceGroupName,\r\n Parameters.subscriptionId\r\n ],\r\n queryParameters: [\r\n Parameters.apiVersion\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n requestBody: {\r\n parameterPath: \"jobQueryParameter\",\r\n mapper: tslib_1.__assign({}, Mappers.JobQueryParameter, { required: true })\r\n },\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.Job\r\n },\r\n 202: {},\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\nvar listNextOperationSpec = {\r\n httpMethod: \"GET\",\r\n baseUrl: \"https://management.azure.com\",\r\n path: \"{nextLink}\",\r\n urlParameters: [\r\n Parameters.nextPageLink\r\n ],\r\n headerParameters: [\r\n Parameters.acceptLanguage\r\n ],\r\n responses: {\r\n 200: {\r\n bodyMapper: Mappers.JobCollection\r\n },\r\n default: {\r\n bodyMapper: Mappers.CloudError\r\n }\r\n },\r\n serializer: serializer\r\n};\r\n//# sourceMappingURL=replicationJobs.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nexport { discriminators, PolicyCollection, Policy, Resource, BaseResource, PolicyProperties, PolicyProviderSpecificDetails, CloudError, CreatePolicyInput, CreatePolicyInputProperties, PolicyProviderSpecificInput, UpdatePolicyInput, UpdatePolicyInputProperties, A2APolicyCreationInput, A2APolicyDetails, Alert, AlertProperties, Event, EventProperties, EventProviderSpecificDetails, EventSpecificDetails, HealthError, InnerHealthError, Fabric, FabricProperties, EncryptionDetails, FabricSpecificDetails, HyperVReplica2012EventDetails, HyperVReplica2012R2EventDetails, HyperVReplicaAzureEventDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaAzurePolicyInput, HyperVReplicaBaseEventDetails, HyperVReplicaBasePolicyDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaBluePolicyInput, HyperVReplicaPolicyDetails, HyperVReplicaPolicyInput, HyperVSiteDetails, InMageAzureV2EventDetails, InMageAzureV2PolicyDetails, InMageAzureV2PolicyInput, InMageBasePolicyDetails, InMagePolicyDetails, InMagePolicyInput, Job, JobProperties, ASRTask, TaskTypeDetails, GroupTaskDetails, JobErrorDetails, ServiceError, ProviderError, JobDetails, JobStatusEventDetails, JobTaskDetails, JobEntity, LogicalNetwork, LogicalNetworkProperties, ManualActionTaskDetails, Network, NetworkProperties, Subnet, NetworkMapping, NetworkMappingProperties, NetworkMappingFabricSpecificSettings, 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, IdentityInformation, 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, VMwareCbtPolicyCreationInput, VmwareCbtPolicyDetails, VMwareDetails, ProcessServer, MobilityServiceUpdate, MasterTargetServer, RetentionVolume, DataStore, RunAsAccount, VMwareV2FabricSpecificDetails, VMwareVirtualMachineDetails, InMageDiskDetails, DiskVolumeDetails, A2AEventDetails, A2AProtectionContainerMappingDetails, A2ARecoveryPointDetails, A2AReplicationDetails, A2AProtectedDiskDetails, A2AProtectedManagedDiskDetails, VMNicDetails, AzureToAzureVmSyncedConfigDetails, RoleAssignment, InputEndpoint, AsrJobDetails, AutomationRunbookTaskDetails, AzureFabricSpecificDetails, AzureToAzureNetworkMappingSettings, ConsistencyCheckTaskDetails, InconsistentVmDetails, ExportJobDetails, FabricReplicationGroupTaskDetails, FailoverJobDetails, HyperVReplicaAzureReplicationDetails, AzureVmDiskDetails, InitialReplicationDetails, HyperVReplicaBaseReplicationDetails, HyperVReplicaBlueReplicationDetails, HyperVReplicaReplicationDetails, HyperVVirtualMachineDetails, InlineWorkflowTaskDetails, InMageAzureV2RecoveryPointDetails, InMageAzureV2ReplicationDetails, InMageAzureV2ProtectedDiskDetails, InMageReplicationDetails, OSDiskDetails, InMageProtectedDiskDetails, InMageAgentDetails } from \"../models/mappers\";\r\n//# sourceMappingURL=replicationPoliciesMappers.js.map","/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for\r\n * license information.\r\n *\r\n * Code generated by Microsoft (R) AutoRest Code Generator.\r\n * Changes may cause incorrect behavior and will be lost if the code is\r\n * regenerated.\r\n */\r\nimport * as tslib_1 from \"tslib\";\r\nimport * as msRest from \"ms-rest-js\";\r\nimport * as Mappers from \"../models/replicationPoliciesMappers\";\r\nimport * as Parameters from \"../models/parameters\";\r\n/** Class representing a ReplicationPolicies. */\r\nvar ReplicationPolicies = /** @class */ (function () {\r\n /**\r\n * Create a ReplicationPolicies.\r\n * @param {SiteRecoveryManagementClientContext} client Reference to the service client.\r\n */\r\n function ReplicationPolicies(client) {\r\n this.client = client;\r\n }\r\n ReplicationPolicies.prototype.list = function (options, callback) {\r\n return this.client.sendOperationRequest({\r\n options: options\r\n }, listOperationSpec, callback);\r\n };\r\n ReplicationPolicies.prototype.get = function (policyName, options, callback) {\r\n return this.client.sendOperationRequest({\r\n policyName: policyName,\r\n options: options\r\n }, getOperationSpec, callback);\r\n };\r\n /**\r\n * The operation to create a replication policy\r\n * @summary Creates the policy.\r\n * @param policyName Replication policy name\r\n * @param input Create policy input\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationPolicies.prototype.create = function (policyName, input, options) {\r\n return this.beginCreate(policyName, input, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to delete a replication policy.\r\n * @summary Delete the policy.\r\n * @param policyName Replication policy name.\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationPolicies.prototype.deleteMethod = function (policyName, options) {\r\n return this.beginDeleteMethod(policyName, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to update a replication policy.\r\n * @summary Updates the policy.\r\n * @param policyName Policy Id.\r\n * @param input Update Policy Input\r\n * @param [options] The optional parameters\r\n * @returns Promise\r\n */\r\n ReplicationPolicies.prototype.update = function (policyName, input, options) {\r\n return this.beginUpdate(policyName, input, options)\r\n .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });\r\n };\r\n /**\r\n * The operation to create a replication policy\r\n * @summary Creates the policy.\r\n * @param policyName Replication policy name\r\n * @param input Create policy input\r\n * @param [options] The optional parameters\r\n * @returns Promise