Skip to content
Open
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 @@ -827,6 +827,47 @@ public partial interface IReplicationProtectedItemsOperations
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ReplicationProtectedItem,ReplicationProtectedItemsUpdateMobilityServiceHeaders>> UpdateMobilityServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, string fabricName, string protectionContainerName, string replicatedProtectedItemName, UpdateMobilityServiceRequestProperties properties = default(UpdateMobilityServiceRequestProperties), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// The operation to reinstall the installed mobility service software on a
/// replication protected item to the latest available version.
/// </summary>
/// <remarks>
/// The operation to reinstall the installed mobility service software on a
/// replication protected item to the latest available version.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group where the recovery services vault is
/// present.
/// </param>
/// <param name='resourceName'>
/// The name of the recovery services vault.
/// </param>
/// <param name='fabricName'>
/// The name of the fabric containing the protected item.
/// </param>
/// <param name='protectionContainerName'>
/// The name of the container containing the protected item.
/// </param>
/// <param name='replicatedProtectedItemName'>
/// The name of the protected item on which the agent is to be updated.
/// </param>
/// <param name='properties'>
/// The properties of the reinstall mobility service request
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ReplicationProtectedItem,ReplicationProtectedItemsReinstallMobilityServiceHeaders>> ReinstallMobilityServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, string fabricName, string protectionContainerName, string replicatedProtectedItemName, ReinstallMobilityServiceRequestProperties properties = default(ReinstallMobilityServiceRequestProperties), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets the list of ASR replication protected items in the vault.
/// </summary>
Expand Down Expand Up @@ -1604,6 +1645,47 @@ public partial interface IReplicationProtectedItemsOperations
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ReplicationProtectedItem,ReplicationProtectedItemsUpdateMobilityServiceHeaders>> BeginUpdateMobilityServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, string fabricName, string protectionContainerName, string replicatedProtectedItemName, UpdateMobilityServiceRequestProperties properties = default(UpdateMobilityServiceRequestProperties), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// The operation to reinstall the installed mobility service software on a
/// replication protected item to the latest available version.
/// </summary>
/// <remarks>
/// The operation to reinstall the installed mobility service software on a
/// replication protected item to the latest available version.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group where the recovery services vault is
/// present.
/// </param>
/// <param name='resourceName'>
/// The name of the recovery services vault.
/// </param>
/// <param name='fabricName'>
/// The name of the fabric containing the protected item.
/// </param>
/// <param name='protectionContainerName'>
/// The name of the container containing the protected item.
/// </param>
/// <param name='replicatedProtectedItemName'>
/// The name of the protected item on which the agent is to be updated.
/// </param>
/// <param name='properties'>
/// The properties of the reinstall mobility service request
/// </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>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ReplicationProtectedItem,ReplicationProtectedItemsReinstallMobilityServiceHeaders>> BeginReinstallMobilityServiceWithHttpMessagesAsync(string resourceGroupName, string resourceName, string fabricName, string protectionContainerName, string replicatedProtectedItemName, ReinstallMobilityServiceRequestProperties properties = default(ReinstallMobilityServiceRequestProperties), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets the list of ASR replication protected items in the protection
/// container.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
// 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.

namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
{
using System.Linq;

/// <summary>
/// A2A source agent reinstall blocking error details.
/// </summary>
public partial class A2AAgentReinstallBlockingErrorDetails
{
/// <summary>
/// Initializes a new instance of the A2AAgentReinstallBlockingErrorDetails class.
/// </summary>
public A2AAgentReinstallBlockingErrorDetails()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the A2AAgentReinstallBlockingErrorDetails class.
/// </summary>

/// <param name="errorCode">error code.
/// </param>

/// <param name="errorMessage">error message.
/// </param>

/// <param name="possibleCauses">possible causes.
/// </param>

/// <param name="recommendedAction">recommended action.
/// </param>

/// <param name="errorMessageParameters">error message parameters.
/// </param>

/// <param name="errorTags">error tags.
/// </param>
public A2AAgentReinstallBlockingErrorDetails(string errorCode = default(string), string errorMessage = default(string), string possibleCauses = default(string), string recommendedAction = default(string), System.Collections.Generic.IDictionary<string, string> errorMessageParameters = default(System.Collections.Generic.IDictionary<string, string>), System.Collections.Generic.IDictionary<string, string> errorTags = default(System.Collections.Generic.IDictionary<string, string>))

{
this.ErrorCode = errorCode;
this.ErrorMessage = errorMessage;
this.PossibleCauses = possibleCauses;
this.RecommendedAction = recommendedAction;
this.ErrorMessageParameters = errorMessageParameters;
this.ErrorTags = errorTags;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();


/// <summary>
/// Gets or sets error code.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "errorCode")]
public string ErrorCode {get; set; }

/// <summary>
/// Gets or sets error message.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "errorMessage")]
public string ErrorMessage {get; set; }

/// <summary>
/// Gets or sets possible causes.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "possibleCauses")]
public string PossibleCauses {get; set; }

/// <summary>
/// Gets or sets recommended action.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "recommendedAction")]
public string RecommendedAction {get; set; }

/// <summary>
/// Gets or sets error message parameters.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "errorMessageParameters")]
public System.Collections.Generic.IDictionary<string, string> ErrorMessageParameters {get; set; }

/// <summary>
/// Gets or sets error tags.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "errorTags")]
public System.Collections.Generic.IDictionary<string, string> ErrorTags {get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,12 @@ public A2AEnableProtectionInput()
/// <param name="recoveryCapacityReservationGroupId">The recovery capacity reservation group Id.
/// </param>

/// <param name="platformFaultDomain">the platform fault domain.
/// </param>

/// <param name="autoProtectionOfDataDisk">A value indicating whether the auto protection is enabled.
/// Possible values include: &#39;Disabled&#39;, &#39;Enabled&#39;</param>
public A2AEnableProtectionInput(string fabricObjectId, string recoveryContainerId = default(string), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryProximityPlacementGroupId = default(string), System.Collections.Generic.IList<A2AVmDiskInputDetails> vmDisks = default(System.Collections.Generic.IList<A2AVmDiskInputDetails>), System.Collections.Generic.IList<A2AVmManagedDiskInputDetails> vmManagedDisks = default(System.Collections.Generic.IList<A2AVmManagedDiskInputDetails>), string multiVMGroupName = default(string), string multiVMGroupId = default(string), string protectionClusterId = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), ExtendedLocation recoveryExtendedLocation = default(ExtendedLocation), string recoveryAzureNetworkId = default(string), string recoverySubnetName = default(string), string recoveryVirtualMachineScaleSetId = default(string), string recoveryCapacityReservationGroupId = default(string), string autoProtectionOfDataDisk = default(string))
public A2AEnableProtectionInput(string fabricObjectId, string recoveryContainerId = default(string), string recoveryResourceGroupId = default(string), string recoveryCloudServiceId = default(string), string recoveryAvailabilitySetId = default(string), string recoveryProximityPlacementGroupId = default(string), System.Collections.Generic.IList<A2AVmDiskInputDetails> vmDisks = default(System.Collections.Generic.IList<A2AVmDiskInputDetails>), System.Collections.Generic.IList<A2AVmManagedDiskInputDetails> vmManagedDisks = default(System.Collections.Generic.IList<A2AVmManagedDiskInputDetails>), string multiVMGroupName = default(string), string multiVMGroupId = default(string), string protectionClusterId = default(string), string recoveryBootDiagStorageAccountId = default(string), DiskEncryptionInfo diskEncryptionInfo = default(DiskEncryptionInfo), string recoveryAvailabilityZone = default(string), ExtendedLocation recoveryExtendedLocation = default(ExtendedLocation), string recoveryAzureNetworkId = default(string), string recoverySubnetName = default(string), string recoveryVirtualMachineScaleSetId = default(string), string recoveryCapacityReservationGroupId = default(string), int? platformFaultDomain = default(int?), string autoProtectionOfDataDisk = default(string))

{
this.FabricObjectId = fabricObjectId;
Expand All @@ -106,6 +109,7 @@ public A2AEnableProtectionInput()
this.RecoverySubnetName = recoverySubnetName;
this.RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
this.RecoveryCapacityReservationGroupId = recoveryCapacityReservationGroupId;
this.PlatformFaultDomain = platformFaultDomain;
this.AutoProtectionOfDataDisk = autoProtectionOfDataDisk;
CustomInit();
}
Expand Down Expand Up @@ -230,6 +234,12 @@ public A2AEnableProtectionInput()
[Newtonsoft.Json.JsonProperty(PropertyName = "recoveryCapacityReservationGroupId")]
public string RecoveryCapacityReservationGroupId {get; set; }

/// <summary>
/// Gets or sets the platform fault domain.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "platformFaultDomain")]
public int? PlatformFaultDomain {get; set; }

/// <summary>
/// Gets or sets a value indicating whether the auto protection is enabled. Possible values include: &#39;Disabled&#39;, &#39;Enabled&#39;
/// </summary>
Expand Down
Loading