Skip to content

Commit 18da2aa

Browse files
committed
generated private sdk
1 parent e9a75c4 commit 18da2aa

File tree

40 files changed

+1730
-28
lines changed

40 files changed

+1730
-28
lines changed

src/RecoveryServices/RecoveryServices.SiteRecovery.Management.Sdk/Generated/IReplicationProtectedItemsOperations.cs

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,47 @@ public partial interface IReplicationProtectedItemsOperations
827827
/// </exception>
828828
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));
829829

830+
/// <summary>
831+
/// The operation to reinstall the installed mobility service software on a
832+
/// replication protected item to the latest available version.
833+
/// </summary>
834+
/// <remarks>
835+
/// The operation to reinstall the installed mobility service software on a
836+
/// replication protected item to the latest available version.
837+
/// </remarks>
838+
/// <param name='resourceGroupName'>
839+
/// The name of the resource group where the recovery services vault is
840+
/// present.
841+
/// </param>
842+
/// <param name='resourceName'>
843+
/// The name of the recovery services vault.
844+
/// </param>
845+
/// <param name='fabricName'>
846+
/// The name of the fabric containing the protected item.
847+
/// </param>
848+
/// <param name='protectionContainerName'>
849+
/// The name of the container containing the protected item.
850+
/// </param>
851+
/// <param name='replicatedProtectedItemName'>
852+
/// The name of the protected item on which the agent is to be updated.
853+
/// </param>
854+
/// <param name='properties'>
855+
/// The properties of the reinstall mobility service request
856+
/// </param>
857+
/// <param name='customHeaders'>
858+
/// The headers that will be added to request.
859+
/// </param>
860+
/// <param name='cancellationToken'>
861+
/// The cancellation token.
862+
/// </param>
863+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
864+
/// Thrown when the operation returned an invalid status code
865+
/// </exception>
866+
/// <exception cref="Microsoft.Rest.SerializationException">
867+
/// Thrown when unable to deserialize the response
868+
/// </exception>
869+
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));
870+
830871
/// <summary>
831872
/// Gets the list of ASR replication protected items in the vault.
832873
/// </summary>
@@ -1604,6 +1645,47 @@ public partial interface IReplicationProtectedItemsOperations
16041645
/// </exception>
16051646
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));
16061647

1648+
/// <summary>
1649+
/// The operation to reinstall the installed mobility service software on a
1650+
/// replication protected item to the latest available version.
1651+
/// </summary>
1652+
/// <remarks>
1653+
/// The operation to reinstall the installed mobility service software on a
1654+
/// replication protected item to the latest available version.
1655+
/// </remarks>
1656+
/// <param name='resourceGroupName'>
1657+
/// The name of the resource group where the recovery services vault is
1658+
/// present.
1659+
/// </param>
1660+
/// <param name='resourceName'>
1661+
/// The name of the recovery services vault.
1662+
/// </param>
1663+
/// <param name='fabricName'>
1664+
/// The name of the fabric containing the protected item.
1665+
/// </param>
1666+
/// <param name='protectionContainerName'>
1667+
/// The name of the container containing the protected item.
1668+
/// </param>
1669+
/// <param name='replicatedProtectedItemName'>
1670+
/// The name of the protected item on which the agent is to be updated.
1671+
/// </param>
1672+
/// <param name='properties'>
1673+
/// The properties of the reinstall mobility service request
1674+
/// </param>
1675+
/// <param name='customHeaders'>
1676+
/// The headers that will be added to request.
1677+
/// </param>
1678+
/// <param name='cancellationToken'>
1679+
/// The cancellation token.
1680+
/// </param>
1681+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
1682+
/// Thrown when the operation returned an invalid status code
1683+
/// </exception>
1684+
/// <exception cref="Microsoft.Rest.SerializationException">
1685+
/// Thrown when unable to deserialize the response
1686+
/// </exception>
1687+
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));
1688+
16071689
/// <summary>
16081690
/// Gets the list of ASR replication protected items in the protection
16091691
/// container.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models
7+
{
8+
using System.Linq;
9+
10+
/// <summary>
11+
/// A2A source agent reinstall blocking error details.
12+
/// </summary>
13+
public partial class A2AAgentReinstallBlockingErrorDetails
14+
{
15+
/// <summary>
16+
/// Initializes a new instance of the A2AAgentReinstallBlockingErrorDetails class.
17+
/// </summary>
18+
public A2AAgentReinstallBlockingErrorDetails()
19+
{
20+
CustomInit();
21+
}
22+
23+
/// <summary>
24+
/// Initializes a new instance of the A2AAgentReinstallBlockingErrorDetails class.
25+
/// </summary>
26+
27+
/// <param name="errorCode">error code.
28+
/// </param>
29+
30+
/// <param name="errorMessage">error message.
31+
/// </param>
32+
33+
/// <param name="possibleCauses">possible causes.
34+
/// </param>
35+
36+
/// <param name="recommendedAction">recommended action.
37+
/// </param>
38+
39+
/// <param name="errorMessageParameters">error message parameters.
40+
/// </param>
41+
42+
/// <param name="errorTags">error tags.
43+
/// </param>
44+
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>))
45+
46+
{
47+
this.ErrorCode = errorCode;
48+
this.ErrorMessage = errorMessage;
49+
this.PossibleCauses = possibleCauses;
50+
this.RecommendedAction = recommendedAction;
51+
this.ErrorMessageParameters = errorMessageParameters;
52+
this.ErrorTags = errorTags;
53+
CustomInit();
54+
}
55+
56+
/// <summary>
57+
/// An initialization method that performs custom operations like setting defaults
58+
/// </summary>
59+
partial void CustomInit();
60+
61+
62+
/// <summary>
63+
/// Gets or sets error code.
64+
/// </summary>
65+
[Newtonsoft.Json.JsonProperty(PropertyName = "errorCode")]
66+
public string ErrorCode {get; set; }
67+
68+
/// <summary>
69+
/// Gets or sets error message.
70+
/// </summary>
71+
[Newtonsoft.Json.JsonProperty(PropertyName = "errorMessage")]
72+
public string ErrorMessage {get; set; }
73+
74+
/// <summary>
75+
/// Gets or sets possible causes.
76+
/// </summary>
77+
[Newtonsoft.Json.JsonProperty(PropertyName = "possibleCauses")]
78+
public string PossibleCauses {get; set; }
79+
80+
/// <summary>
81+
/// Gets or sets recommended action.
82+
/// </summary>
83+
[Newtonsoft.Json.JsonProperty(PropertyName = "recommendedAction")]
84+
public string RecommendedAction {get; set; }
85+
86+
/// <summary>
87+
/// Gets or sets error message parameters.
88+
/// </summary>
89+
[Newtonsoft.Json.JsonProperty(PropertyName = "errorMessageParameters")]
90+
public System.Collections.Generic.IDictionary<string, string> ErrorMessageParameters {get; set; }
91+
92+
/// <summary>
93+
/// Gets or sets error tags.
94+
/// </summary>
95+
[Newtonsoft.Json.JsonProperty(PropertyName = "errorTags")]
96+
public System.Collections.Generic.IDictionary<string, string> ErrorTags {get; set; }
97+
}
98+
}

src/RecoveryServices/RecoveryServices.SiteRecovery.Management.Sdk/Generated/Models/A2AEnableProtectionInput.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,12 @@ public A2AEnableProtectionInput()
8282
/// <param name="recoveryCapacityReservationGroupId">The recovery capacity reservation group Id.
8383
/// </param>
8484

85+
/// <param name="platformFaultDomain">the platform fault domain.
86+
/// </param>
87+
8588
/// <param name="autoProtectionOfDataDisk">A value indicating whether the auto protection is enabled.
8689
/// Possible values include: &#39;Disabled&#39;, &#39;Enabled&#39;</param>
87-
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))
90+
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))
8891

8992
{
9093
this.FabricObjectId = fabricObjectId;
@@ -106,6 +109,7 @@ public A2AEnableProtectionInput()
106109
this.RecoverySubnetName = recoverySubnetName;
107110
this.RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId;
108111
this.RecoveryCapacityReservationGroupId = recoveryCapacityReservationGroupId;
112+
this.PlatformFaultDomain = platformFaultDomain;
109113
this.AutoProtectionOfDataDisk = autoProtectionOfDataDisk;
110114
CustomInit();
111115
}
@@ -230,6 +234,12 @@ public A2AEnableProtectionInput()
230234
[Newtonsoft.Json.JsonProperty(PropertyName = "recoveryCapacityReservationGroupId")]
231235
public string RecoveryCapacityReservationGroupId {get; set; }
232236

237+
/// <summary>
238+
/// Gets or sets the platform fault domain.
239+
/// </summary>
240+
[Newtonsoft.Json.JsonProperty(PropertyName = "platformFaultDomain")]
241+
public int? PlatformFaultDomain {get; set; }
242+
233243
/// <summary>
234244
/// Gets or sets a value indicating whether the auto protection is enabled. Possible values include: &#39;Disabled&#39;, &#39;Enabled&#39;
235245
/// </summary>

0 commit comments

Comments
 (0)