Skip to content

Commit c8409d7

Browse files
[Az.RecoveryServices.SiteRecovery] Azure Site Recovery support for using managed disks for replication for HyperV to Azure provider (#20967)
* Removing track1 SDK dependancy from recovery services site recovery * H2A write to MD changes * H2A write to managed disk changes * Updated changelog * Re-recorded tests * Updated changeLog * Updated the recordings to resolve test failures * Fixed test issue with automapper * Update src/RecoveryServices/RecoveryServices/ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> * Updated help file --------- Co-authored-by: Beisi Zhou <[email protected]>
1 parent 35a3f09 commit c8409d7

File tree

766 files changed

+169661
-63943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

766 files changed

+169661
-63943
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
// <auto-generated>
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for
4+
// license information.
5+
//
6+
// Code generated by Microsoft (R) AutoRest Code Generator.
7+
// Changes may cause incorrect behavior and will be lost if the code is
8+
// regenerated.
9+
// </auto-generated>
10+
11+
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
12+
{
13+
using Microsoft.Rest;
14+
using Microsoft.Rest.Azure;
15+
using Models;
16+
using System.Collections;
17+
using System.Collections.Generic;
18+
using System.Threading;
19+
using System.Threading.Tasks;
20+
21+
/// <summary>
22+
/// MigrationRecoveryPointsOperations operations.
23+
/// </summary>
24+
public partial interface IMigrationRecoveryPointsOperations
25+
{
26+
/// <summary>
27+
/// Gets the recovery points for a migration item.
28+
/// </summary>
29+
/// <param name='fabricName'>
30+
/// Fabric unique name.
31+
/// </param>
32+
/// <param name='protectionContainerName'>
33+
/// Protection container name.
34+
/// </param>
35+
/// <param name='migrationItemName'>
36+
/// Migration item name.
37+
/// </param>
38+
/// <param name='customHeaders'>
39+
/// The headers that will be added to request.
40+
/// </param>
41+
/// <param name='cancellationToken'>
42+
/// The cancellation token.
43+
/// </param>
44+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
45+
/// Thrown when the operation returned an invalid status code
46+
/// </exception>
47+
/// <exception cref="Microsoft.Rest.SerializationException">
48+
/// Thrown when unable to deserialize the response
49+
/// </exception>
50+
/// <exception cref="Microsoft.Rest.ValidationException">
51+
/// Thrown when a required parameter is null
52+
/// </exception>
53+
Task<AzureOperationResponse<IPage<MigrationRecoveryPoint>>> ListByReplicationMigrationItemsWithHttpMessagesAsync(string fabricName, string protectionContainerName, string migrationItemName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
54+
/// <summary>
55+
/// Gets a recovery point for a migration item.
56+
/// </summary>
57+
/// <param name='fabricName'>
58+
/// Fabric unique name.
59+
/// </param>
60+
/// <param name='protectionContainerName'>
61+
/// Protection container name.
62+
/// </param>
63+
/// <param name='migrationItemName'>
64+
/// Migration item name.
65+
/// </param>
66+
/// <param name='migrationRecoveryPointName'>
67+
/// The migration recovery point name.
68+
/// </param>
69+
/// <param name='customHeaders'>
70+
/// The headers that will be added to request.
71+
/// </param>
72+
/// <param name='cancellationToken'>
73+
/// The cancellation token.
74+
/// </param>
75+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
76+
/// Thrown when the operation returned an invalid status code
77+
/// </exception>
78+
/// <exception cref="Microsoft.Rest.SerializationException">
79+
/// Thrown when unable to deserialize the response
80+
/// </exception>
81+
/// <exception cref="Microsoft.Rest.ValidationException">
82+
/// Thrown when a required parameter is null
83+
/// </exception>
84+
Task<AzureOperationResponse<MigrationRecoveryPoint>> GetWithHttpMessagesAsync(string fabricName, string protectionContainerName, string migrationItemName, string migrationRecoveryPointName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
85+
/// <summary>
86+
/// Gets the recovery points for a migration item.
87+
/// </summary>
88+
/// <param name='nextPageLink'>
89+
/// The NextLink from the previous successful call to List operation.
90+
/// </param>
91+
/// <param name='customHeaders'>
92+
/// The headers that will be added to request.
93+
/// </param>
94+
/// <param name='cancellationToken'>
95+
/// The cancellation token.
96+
/// </param>
97+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
98+
/// Thrown when the operation returned an invalid status code
99+
/// </exception>
100+
/// <exception cref="Microsoft.Rest.SerializationException">
101+
/// Thrown when unable to deserialize the response
102+
/// </exception>
103+
/// <exception cref="Microsoft.Rest.ValidationException">
104+
/// Thrown when a required parameter is null
105+
/// </exception>
106+
Task<AzureOperationResponse<IPage<MigrationRecoveryPoint>>> ListByReplicationMigrationItemsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
107+
}
108+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
// <auto-generated>
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for
4+
// license information.
5+
//
6+
// Code generated by Microsoft (R) AutoRest Code Generator.
7+
// Changes may cause incorrect behavior and will be lost if the code is
8+
// regenerated.
9+
// </auto-generated>
10+
11+
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
12+
{
13+
using Microsoft.Rest;
14+
using Microsoft.Rest.Azure;
15+
using Models;
16+
using System.Collections;
17+
using System.Collections.Generic;
18+
using System.Threading;
19+
using System.Threading.Tasks;
20+
21+
/// <summary>
22+
/// Operations operations.
23+
/// </summary>
24+
public partial interface IOperations
25+
{
26+
/// <summary>
27+
/// Returns the list of available operations.
28+
/// </summary>
29+
/// <remarks>
30+
/// Operation to return the list of available operations.
31+
/// </remarks>
32+
/// <param name='customHeaders'>
33+
/// The headers that will be added to request.
34+
/// </param>
35+
/// <param name='cancellationToken'>
36+
/// The cancellation token.
37+
/// </param>
38+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
39+
/// Thrown when the operation returned an invalid status code
40+
/// </exception>
41+
/// <exception cref="Microsoft.Rest.SerializationException">
42+
/// Thrown when unable to deserialize the response
43+
/// </exception>
44+
/// <exception cref="Microsoft.Rest.ValidationException">
45+
/// Thrown when a required parameter is null
46+
/// </exception>
47+
Task<AzureOperationResponse<IPage<OperationsDiscovery>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
48+
/// <summary>
49+
/// Returns the list of available operations.
50+
/// </summary>
51+
/// <remarks>
52+
/// Operation to return the list of available operations.
53+
/// </remarks>
54+
/// <param name='nextPageLink'>
55+
/// The NextLink from the previous successful call to List operation.
56+
/// </param>
57+
/// <param name='customHeaders'>
58+
/// The headers that will be added to request.
59+
/// </param>
60+
/// <param name='cancellationToken'>
61+
/// The cancellation token.
62+
/// </param>
63+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
64+
/// Thrown when the operation returned an invalid status code
65+
/// </exception>
66+
/// <exception cref="Microsoft.Rest.SerializationException">
67+
/// Thrown when unable to deserialize the response
68+
/// </exception>
69+
/// <exception cref="Microsoft.Rest.ValidationException">
70+
/// Thrown when a required parameter is null
71+
/// </exception>
72+
Task<AzureOperationResponse<IPage<OperationsDiscovery>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
73+
}
74+
}
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
// <auto-generated>
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License. See License.txt in the project root for
4+
// license information.
5+
//
6+
// Code generated by Microsoft (R) AutoRest Code Generator.
7+
// Changes may cause incorrect behavior and will be lost if the code is
8+
// regenerated.
9+
// </auto-generated>
10+
11+
namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
12+
{
13+
using Microsoft.Rest;
14+
using Microsoft.Rest.Azure;
15+
using Models;
16+
using System.Collections;
17+
using System.Collections.Generic;
18+
using System.Threading;
19+
using System.Threading.Tasks;
20+
21+
/// <summary>
22+
/// RecoveryPointsOperations operations.
23+
/// </summary>
24+
public partial interface IRecoveryPointsOperations
25+
{
26+
/// <summary>
27+
/// Gets the list of recovery points for a replication protected item.
28+
/// </summary>
29+
/// <remarks>
30+
/// Lists the available recovery points for a replication protected
31+
/// item.
32+
/// </remarks>
33+
/// <param name='fabricName'>
34+
/// The fabric name.
35+
/// </param>
36+
/// <param name='protectionContainerName'>
37+
/// The protection container name.
38+
/// </param>
39+
/// <param name='replicatedProtectedItemName'>
40+
/// The replication protected item name.
41+
/// </param>
42+
/// <param name='customHeaders'>
43+
/// The headers that will be added to request.
44+
/// </param>
45+
/// <param name='cancellationToken'>
46+
/// The cancellation token.
47+
/// </param>
48+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
49+
/// Thrown when the operation returned an invalid status code
50+
/// </exception>
51+
/// <exception cref="Microsoft.Rest.SerializationException">
52+
/// Thrown when unable to deserialize the response
53+
/// </exception>
54+
/// <exception cref="Microsoft.Rest.ValidationException">
55+
/// Thrown when a required parameter is null
56+
/// </exception>
57+
Task<AzureOperationResponse<IPage<RecoveryPoint>>> ListByReplicationProtectedItemsWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
58+
/// <summary>
59+
/// Gets a recovery point.
60+
/// </summary>
61+
/// <remarks>
62+
/// Get the details of specified recovery point.
63+
/// </remarks>
64+
/// <param name='fabricName'>
65+
/// The fabric name.
66+
/// </param>
67+
/// <param name='protectionContainerName'>
68+
/// The protection container name.
69+
/// </param>
70+
/// <param name='replicatedProtectedItemName'>
71+
/// The replication protected item name.
72+
/// </param>
73+
/// <param name='recoveryPointName'>
74+
/// The recovery point name.
75+
/// </param>
76+
/// <param name='customHeaders'>
77+
/// The headers that will be added to request.
78+
/// </param>
79+
/// <param name='cancellationToken'>
80+
/// The cancellation token.
81+
/// </param>
82+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
83+
/// Thrown when the operation returned an invalid status code
84+
/// </exception>
85+
/// <exception cref="Microsoft.Rest.SerializationException">
86+
/// Thrown when unable to deserialize the response
87+
/// </exception>
88+
/// <exception cref="Microsoft.Rest.ValidationException">
89+
/// Thrown when a required parameter is null
90+
/// </exception>
91+
Task<AzureOperationResponse<RecoveryPoint>> GetWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, string recoveryPointName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
92+
/// <summary>
93+
/// Gets the list of recovery points for a replication protected item.
94+
/// </summary>
95+
/// <remarks>
96+
/// Lists the available recovery points for a replication protected
97+
/// item.
98+
/// </remarks>
99+
/// <param name='nextPageLink'>
100+
/// The NextLink from the previous successful call to List operation.
101+
/// </param>
102+
/// <param name='customHeaders'>
103+
/// The headers that will be added to request.
104+
/// </param>
105+
/// <param name='cancellationToken'>
106+
/// The cancellation token.
107+
/// </param>
108+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
109+
/// Thrown when the operation returned an invalid status code
110+
/// </exception>
111+
/// <exception cref="Microsoft.Rest.SerializationException">
112+
/// Thrown when unable to deserialize the response
113+
/// </exception>
114+
/// <exception cref="Microsoft.Rest.ValidationException">
115+
/// Thrown when a required parameter is null
116+
/// </exception>
117+
Task<AzureOperationResponse<IPage<RecoveryPoint>>> ListByReplicationProtectedItemsNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
118+
}
119+
}

0 commit comments

Comments
 (0)