Skip to content

Commit

Permalink
Changes corresponding to new swagger PR for API:2018-01-10 (#4075)
Browse files Browse the repository at this point in the history
* Changes corresponding to new swagger PR for API:2018-01-10

* Fixin tests and updating test jsons

* Updating nuget version to 2.0.0

* Regenerating changes corresponding to comments on swagger PR.

* Updating metadata files as per review comment.

* Addressing review comments
  • Loading branch information
avneeshraiusit authored and shahabhijeet committed Feb 22, 2018
1 parent fcf132d commit f074b5c
Show file tree
Hide file tree
Showing 192 changed files with 8,471 additions and 6,091 deletions.
2 changes: 1 addition & 1 deletion src/SDKs/RecoveryServices.SiteRecovery/AzSdk.RP.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>RecoveryServices_2016-08-10;</AzureApiTag>
<AzureApiTag>RecoveryServices_2018-01-10;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
public partial interface IRecoveryPointsOperations
{
/// <summary>
/// Get a recovery point.
/// Get recovery points for a replication protected item.
/// </summary>
/// <remarks>
/// Get the details of specified recovery point.
/// Lists the available recovery points for a replication protected
/// item.
/// </remarks>
/// <param name='fabricName'>
/// The fabric name.
Expand All @@ -38,9 +39,6 @@ public partial interface IRecoveryPointsOperations
/// <param name='replicatedProtectedItemName'>
/// The replication protected item's name.
/// </param>
/// <param name='recoveryPointName'>
/// The recovery point name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -56,13 +54,12 @@ public partial interface IRecoveryPointsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<RecoveryPoint>> GetWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, string recoveryPointName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<IPage<RecoveryPoint>>> ListByReplicationProtectedItemsWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Get recovery points for a replication protected item.
/// Get a recovery point.
/// </summary>
/// <remarks>
/// Lists the available recovery points for a replication protected
/// item.
/// Get the details of specified recovery point.
/// </remarks>
/// <param name='fabricName'>
/// The fabric name.
Expand All @@ -73,6 +70,9 @@ public partial interface IRecoveryPointsOperations
/// <param name='replicatedProtectedItemName'>
/// The replication protected item's name.
/// </param>
/// <param name='recoveryPointName'>
/// The recovery point name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -88,7 +88,7 @@ public partial interface IRecoveryPointsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<RecoveryPoint>>> ListByReplicationProtectedItemsWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<RecoveryPoint>> GetWithHttpMessagesAsync(string fabricName, string protectionContainerName, string replicatedProtectedItemName, string recoveryPointName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Get recovery points for a replication protected item.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
public partial interface IReplicationAlertSettingsOperations
{
/// <summary>
/// Gets an email notification(alert) configuration.
/// Gets the list of configured email notification(alert)
/// configurations.
/// </summary>
/// <remarks>
/// Gets the details of the specified email notification(alert)
/// configuration.
/// Gets the list of email notification(alert) configurations for the
/// vault.
/// </remarks>
/// <param name='alertSettingName'>
/// The name of the email notification configuration.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -48,18 +46,16 @@ public partial interface IReplicationAlertSettingsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<Alert>> GetWithHttpMessagesAsync(string alertSettingName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<IPage<Alert>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Configures email notifications for this vault.
/// Gets an email notification(alert) configuration.
/// </summary>
/// <remarks>
/// Create or update an email notification(alert) configuration.
/// Gets the details of the specified email notification(alert)
/// configuration.
/// </remarks>
/// <param name='alertSettingName'>
/// The name of the email notification(alert) configuration.
/// </param>
/// <param name='request'>
/// The input to configure the email notification(alert).
/// The name of the email notification configuration.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -76,15 +72,19 @@ public partial interface IReplicationAlertSettingsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<Alert>> CreateWithHttpMessagesAsync(string alertSettingName, ConfigureAlertRequest request, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<Alert>> GetWithHttpMessagesAsync(string alertSettingName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the list of configured email notification(alert)
/// configurations.
/// Configures email notifications for this vault.
/// </summary>
/// <remarks>
/// Gets the list of email notification(alert) configurations for the
/// vault.
/// Create or update an email notification(alert) configuration.
/// </remarks>
/// <param name='alertSettingName'>
/// The name of the email notification(alert) configuration.
/// </param>
/// <param name='request'>
/// The input to configure the email notification(alert).
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -100,7 +100,7 @@ public partial interface IReplicationAlertSettingsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<Alert>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<Alert>> CreateWithHttpMessagesAsync(string alertSettingName, ConfigureAlertRequest request, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the list of configured email notification(alert)
/// configurations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ namespace Microsoft.Azure.Management.RecoveryServices.SiteRecovery
public partial interface IReplicationEventsOperations
{
/// <summary>
/// Get the details of an Azure Site recovery event.
/// Gets the list of Azure Site Recovery events.
/// </summary>
/// <remarks>
/// The operation to get the details of an Azure Site recovery event.
/// Gets the list of Azure Site Recovery events for the vault.
/// </remarks>
/// <param name='eventName'>
/// The name of the Azure Site Recovery event.
/// <param name='odataQuery'>
/// OData parameters to apply to the operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -48,15 +48,15 @@ public partial interface IReplicationEventsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<EventModel>> GetWithHttpMessagesAsync(string eventName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<IPage<EventModel>>> ListWithHttpMessagesAsync(ODataQuery<EventQueryParameter> odataQuery = default(ODataQuery<EventQueryParameter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the list of Azure Site Recovery events.
/// Get the details of an Azure Site recovery event.
/// </summary>
/// <remarks>
/// Gets the list of Azure Site Recovery events for the vault.
/// The operation to get the details of an Azure Site recovery event.
/// </remarks>
/// <param name='odataQuery'>
/// OData parameters to apply to the operation.
/// <param name='eventName'>
/// The name of the Azure Site Recovery event.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -73,7 +73,7 @@ public partial interface IReplicationEventsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<EventModel>>> ListWithHttpMessagesAsync(ODataQuery<EventQueryParameter> odataQuery = default(ODataQuery<EventQueryParameter>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<EventModel>> GetWithHttpMessagesAsync(string eventName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the list of Azure Site Recovery events.
/// </summary>
Expand Down
Loading

0 comments on commit f074b5c

Please sign in to comment.