Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,59 +77,5 @@ public partial interface IReplicationEligibilityResultsOperations
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ReplicationEligibilityResults>> GetWithHttpMessagesAsync(string virtualMachineName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the validation errors in case the VM is unsuitable for
/// protection.
/// </summary>
/// <remarks>
/// Validates whether a given VM can be protected or not in which case
/// returns list of errors.
/// </remarks>
/// <param name='virtualMachineName'>
/// Virtual Machine name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ReplicationEligibilityResultsCollection>> BeginListWithHttpMessagesAsync(string virtualMachineName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the validation errors in case the VM is unsuitable for
/// protection.
/// </summary>
/// <remarks>
/// Validates whether a given VM can be protected or not in which case
/// returns list of errors.
/// </remarks>
/// <param name='virtualMachineName'>
/// Virtual Machine name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ReplicationEligibilityResults>> BeginGetWithHttpMessagesAsync(string virtualMachineName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,15 @@ public CreateRecoveryPlanInputProperties()
/// <param name="failoverDeploymentModel">The failover deployment
/// model. Possible values include: 'NotApplicable', 'Classic',
/// 'ResourceManager'</param>
public CreateRecoveryPlanInputProperties(string primaryFabricId, string recoveryFabricId, IList<RecoveryPlanGroup> groups, string failoverDeploymentModel = default(string))
/// <param name="providerSpecificInput">The provider specific
/// input.</param>
public CreateRecoveryPlanInputProperties(string primaryFabricId, string recoveryFabricId, IList<RecoveryPlanGroup> groups, string failoverDeploymentModel = default(string), IList<RecoveryPlanProviderSpecificInput> providerSpecificInput = default(IList<RecoveryPlanProviderSpecificInput>))
{
PrimaryFabricId = primaryFabricId;
RecoveryFabricId = recoveryFabricId;
FailoverDeploymentModel = failoverDeploymentModel;
Groups = groups;
ProviderSpecificInput = providerSpecificInput;
CustomInit();
}

Expand Down Expand Up @@ -79,6 +82,12 @@ public CreateRecoveryPlanInputProperties()
[JsonProperty(PropertyName = "groups")]
public IList<RecoveryPlanGroup> Groups { get; set; }

/// <summary>
/// Gets or sets the provider specific input.
/// </summary>
[JsonProperty(PropertyName = "providerSpecificInput")]
public IList<RecoveryPlanProviderSpecificInput> ProviderSpecificInput { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public InMageAzureV2ReplicationDetails()
/// <param name="lastHeartbeat">The last heartbeat received from the
/// source server.</param>
/// <param name="processServerId">The process server Id.</param>
/// <param name="processServerName">The process server name.</param>
/// <param name="multiVmGroupId">The multi vm group Id.</param>
/// <param name="multiVmGroupName">The multi vm group name.</param>
/// <param name="multiVmSyncStatus">A value indicating whether multi vm
Expand Down Expand Up @@ -122,7 +123,7 @@ public InMageAzureV2ReplicationDetails()
/// item.</param>
/// <param name="protectedManagedDisks">The list of protected managed
/// disks.</param>
public InMageAzureV2ReplicationDetails(string infrastructureVmId = default(string), string vCenterInfrastructureId = default(string), string protectionStage = default(string), string vmId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), int? resyncProgressPercentage = default(int?), long? rpoInSeconds = default(long?), double? compressedDataRateInMB = default(double?), double? uncompressedDataRateInMB = default(double?), string ipAddress = default(string), string agentVersion = default(string), System.DateTime? agentExpiryDate = default(System.DateTime?), string isAgentUpdateRequired = default(string), string isRebootAfterUpdateRequired = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string processServerId = default(string), string multiVmGroupId = default(string), string multiVmGroupName = default(string), string multiVmSyncStatus = default(string), IList<InMageAzureV2ProtectedDiskDetails> protectedDisks = default(IList<InMageAzureV2ProtectedDiskDetails>), string diskResized = default(string), string masterTargetId = default(string), int? sourceVmCpuCount = default(int?), int? sourceVmRamSizeInMB = default(int?), string osType = default(string), string vhdName = default(string), string osDiskId = default(string), IList<AzureVmDiskDetails> azureVMDiskDetails = default(IList<AzureVmDiskDetails>), string recoveryAzureVMName = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureStorageAccount = default(string), string recoveryAzureLogStorageAccountId = default(string), IList<VMNicDetails> vmNics = default(IList<VMNicDetails>), string selectedRecoveryAzureNetworkId = default(string), string selectedSourceNicId = default(string), string discoveryType = default(string), string enableRdpOnTargetOption = default(string), IList<string> datastores = default(IList<string>), string targetVmId = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryAvailabilitySetId = default(string), string useManagedDisks = default(string), string licenseType = default(string), IList<HealthError> validationErrors = default(IList<HealthError>), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), System.DateTime? lastUpdateReceivedTime = default(System.DateTime?), string replicaId = default(string), string osVersion = default(string), IList<InMageAzureV2ManagedDiskDetails> protectedManagedDisks = default(IList<InMageAzureV2ManagedDiskDetails>))
public InMageAzureV2ReplicationDetails(string infrastructureVmId = default(string), string vCenterInfrastructureId = default(string), string protectionStage = default(string), string vmId = default(string), string vmProtectionState = default(string), string vmProtectionStateDescription = default(string), int? resyncProgressPercentage = default(int?), long? rpoInSeconds = default(long?), double? compressedDataRateInMB = default(double?), double? uncompressedDataRateInMB = default(double?), string ipAddress = default(string), string agentVersion = default(string), System.DateTime? agentExpiryDate = default(System.DateTime?), string isAgentUpdateRequired = default(string), string isRebootAfterUpdateRequired = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string processServerId = default(string), string processServerName = default(string), string multiVmGroupId = default(string), string multiVmGroupName = default(string), string multiVmSyncStatus = default(string), IList<InMageAzureV2ProtectedDiskDetails> protectedDisks = default(IList<InMageAzureV2ProtectedDiskDetails>), string diskResized = default(string), string masterTargetId = default(string), int? sourceVmCpuCount = default(int?), int? sourceVmRamSizeInMB = default(int?), string osType = default(string), string vhdName = default(string), string osDiskId = default(string), IList<AzureVmDiskDetails> azureVMDiskDetails = default(IList<AzureVmDiskDetails>), string recoveryAzureVMName = default(string), string recoveryAzureVMSize = default(string), string recoveryAzureStorageAccount = default(string), string recoveryAzureLogStorageAccountId = default(string), IList<VMNicDetails> vmNics = default(IList<VMNicDetails>), string selectedRecoveryAzureNetworkId = default(string), string selectedSourceNicId = default(string), string discoveryType = default(string), string enableRdpOnTargetOption = default(string), IList<string> datastores = default(IList<string>), string targetVmId = default(string), string recoveryAzureResourceGroupId = default(string), string recoveryAvailabilitySetId = default(string), string useManagedDisks = default(string), string licenseType = default(string), IList<HealthError> validationErrors = default(IList<HealthError>), System.DateTime? lastRpoCalculatedTime = default(System.DateTime?), System.DateTime? lastUpdateReceivedTime = default(System.DateTime?), string replicaId = default(string), string osVersion = default(string), IList<InMageAzureV2ManagedDiskDetails> protectedManagedDisks = default(IList<InMageAzureV2ManagedDiskDetails>))
{
InfrastructureVmId = infrastructureVmId;
VCenterInfrastructureId = vCenterInfrastructureId;
Expand All @@ -141,6 +142,7 @@ public InMageAzureV2ReplicationDetails()
IsRebootAfterUpdateRequired = isRebootAfterUpdateRequired;
LastHeartbeat = lastHeartbeat;
ProcessServerId = processServerId;
ProcessServerName = processServerName;
MultiVmGroupId = multiVmGroupId;
MultiVmGroupName = multiVmGroupName;
MultiVmSyncStatus = multiVmSyncStatus;
Expand Down Expand Up @@ -286,6 +288,12 @@ public InMageAzureV2ReplicationDetails()
[JsonProperty(PropertyName = "processServerId")]
public string ProcessServerId { get; set; }

/// <summary>
/// Gets the process server name.
/// </summary>
[JsonProperty(PropertyName = "processServerName")]
public string ProcessServerName { get; private set; }

/// <summary>
/// Gets or sets the multi vm group Id.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,20 @@ public ProcessServer()
/// <param name="agentExpiryDate">Agent expiry date.</param>
/// <param name="agentVersionDetails">The agent version
/// details.</param>
public ProcessServer(string friendlyName = default(string), string id = default(string), string ipAddress = default(string), string osType = default(string), string agentVersion = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string versionStatus = default(string), IList<MobilityServiceUpdate> mobilityServiceUpdates = default(IList<MobilityServiceUpdate>), string hostId = default(string), string machineCount = default(string), string replicationPairCount = default(string), string systemLoad = default(string), string systemLoadStatus = default(string), string cpuLoad = default(string), string cpuLoadStatus = default(string), long? totalMemoryInBytes = default(long?), long? availableMemoryInBytes = default(long?), string memoryUsageStatus = default(string), long? totalSpaceInBytes = default(long?), long? availableSpaceInBytes = default(long?), string spaceUsageStatus = default(string), string psServiceStatus = default(string), System.DateTime? sslCertExpiryDate = default(System.DateTime?), int? sslCertExpiryRemainingDays = default(int?), string osVersion = default(string), IList<HealthError> healthErrors = default(IList<HealthError>), System.DateTime? agentExpiryDate = default(System.DateTime?), VersionDetails agentVersionDetails = default(VersionDetails))
/// <param name="health">The health of Process Server. Possible values
/// include: 'None', 'Normal', 'Warning', 'Critical'</param>
/// <param name="psStatsRefreshTime">The process server stats refresh
/// time.</param>
/// <param name="throughputUploadPendingDataInBytes">The uploading
/// pending data in bytes.</param>
/// <param name="throughputInMBps">The throughput in MBps.</param>
/// <param name="throughputInBytes">The throughput in bytes.</param>
/// <param name="throughputStatus">The throughput status.</param>
/// <param name="marsCommunicationStatus">The MARS communication
/// status.</param>
/// <param name="marsRegistrationStatus">The MARS registration
/// status.</param>
public ProcessServer(string friendlyName = default(string), string id = default(string), string ipAddress = default(string), string osType = default(string), string agentVersion = default(string), System.DateTime? lastHeartbeat = default(System.DateTime?), string versionStatus = default(string), IList<MobilityServiceUpdate> mobilityServiceUpdates = default(IList<MobilityServiceUpdate>), string hostId = default(string), string machineCount = default(string), string replicationPairCount = default(string), string systemLoad = default(string), string systemLoadStatus = default(string), string cpuLoad = default(string), string cpuLoadStatus = default(string), long? totalMemoryInBytes = default(long?), long? availableMemoryInBytes = default(long?), string memoryUsageStatus = default(string), long? totalSpaceInBytes = default(long?), long? availableSpaceInBytes = default(long?), string spaceUsageStatus = default(string), string psServiceStatus = default(string), System.DateTime? sslCertExpiryDate = default(System.DateTime?), int? sslCertExpiryRemainingDays = default(int?), string osVersion = default(string), IList<HealthError> healthErrors = default(IList<HealthError>), System.DateTime? agentExpiryDate = default(System.DateTime?), VersionDetails agentVersionDetails = default(VersionDetails), string health = default(string), System.DateTime? psStatsRefreshTime = default(System.DateTime?), long? throughputUploadPendingDataInBytes = default(long?), long? throughputInMBps = default(long?), long? throughputInBytes = default(long?), string throughputStatus = default(string), string marsCommunicationStatus = default(string), string marsRegistrationStatus = default(string))
{
FriendlyName = friendlyName;
Id = id;
Expand Down Expand Up @@ -100,6 +113,14 @@ public ProcessServer()
HealthErrors = healthErrors;
AgentExpiryDate = agentExpiryDate;
AgentVersionDetails = agentVersionDetails;
Health = health;
PsStatsRefreshTime = psStatsRefreshTime;
ThroughputUploadPendingDataInBytes = throughputUploadPendingDataInBytes;
ThroughputInMBps = throughputInMBps;
ThroughputInBytes = throughputInBytes;
ThroughputStatus = throughputStatus;
MarsCommunicationStatus = marsCommunicationStatus;
MarsRegistrationStatus = marsRegistrationStatus;
CustomInit();
}

Expand Down Expand Up @@ -278,5 +299,54 @@ public ProcessServer()
[JsonProperty(PropertyName = "agentVersionDetails")]
public VersionDetails AgentVersionDetails { get; set; }

/// <summary>
/// Gets the health of Process Server. Possible values include: 'None',
/// 'Normal', 'Warning', 'Critical'
/// </summary>
[JsonProperty(PropertyName = "health")]
public string Health { get; private set; }

/// <summary>
/// Gets the process server stats refresh time.
/// </summary>
[JsonProperty(PropertyName = "psStatsRefreshTime")]
public System.DateTime? PsStatsRefreshTime { get; private set; }

/// <summary>
/// Gets the uploading pending data in bytes.
/// </summary>
[JsonProperty(PropertyName = "throughputUploadPendingDataInBytes")]
public long? ThroughputUploadPendingDataInBytes { get; private set; }

/// <summary>
/// Gets the throughput in MBps.
/// </summary>
[JsonProperty(PropertyName = "throughputInMBps")]
public long? ThroughputInMBps { get; private set; }

/// <summary>
/// Gets the throughput in bytes.
/// </summary>
[JsonProperty(PropertyName = "throughputInBytes")]
public long? ThroughputInBytes { get; private set; }

/// <summary>
/// Gets the throughput status.
/// </summary>
[JsonProperty(PropertyName = "throughputStatus")]
public string ThroughputStatus { get; private set; }

/// <summary>
/// Gets the MARS communication status.
/// </summary>
[JsonProperty(PropertyName = "marsCommunicationStatus")]
public string MarsCommunicationStatus { get; private set; }

/// <summary>
/// Gets the MARS registration status.
/// </summary>
[JsonProperty(PropertyName = "marsRegistrationStatus")]
public string MarsRegistrationStatus { get; private set; }

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{

/// <summary>
/// Defines values for ProtectionHealth.
/// </summary>
public static class ProtectionHealth
{
public const string None = "None";
public const string Normal = "Normal";
public const string Warning = "Warning";
public const string Critical = "Critical";
}
}
Loading