From f51fb6ee968e00ab886fef70be95d6e425bee1cc Mon Sep 17 00:00:00 2001 From: adxsdknet Date: Fri, 29 Mar 2019 08:17:34 +0000 Subject: [PATCH] .NET SDK Resource Provider:'RecoveryServices' REST Spec PR 'https://github.com/Azure/azure-rest-api-specs/pull/5496' REST Spec PR Author 'amchandn' REST Spec PR Last commit --- .../Generated/IRecoveryServicesOperations.cs | 2 +- ...eters.cs => CheckNameAvailabilityParameters.cs} | 14 +++++++------- .../Generated/RecoveryServicesOperations.cs | 2 +- .../RecoveryServicesOperationsExtensions.cs | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) rename src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/Models/{ResourceNameAvailabilityParameters.cs => CheckNameAvailabilityParameters.cs} (80%) diff --git a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/IRecoveryServicesOperations.cs b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/IRecoveryServicesOperations.cs index 1bd2e220656c8..077d24886e89e 100644 --- a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/IRecoveryServicesOperations.cs +++ b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/IRecoveryServicesOperations.cs @@ -55,6 +55,6 @@ public partial interface IRecoveryServicesOperations /// /// Thrown when a required parameter is null /// - Task> CheckNameAvailabilityWithHttpMessagesAsync(string resourceGroupName, string location, ResourceNameAvailabilityParameters input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CheckNameAvailabilityWithHttpMessagesAsync(string resourceGroupName, string location, CheckNameAvailabilityParameters input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/Models/ResourceNameAvailabilityParameters.cs b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/Models/CheckNameAvailabilityParameters.cs similarity index 80% rename from src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/Models/ResourceNameAvailabilityParameters.cs rename to src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/Models/CheckNameAvailabilityParameters.cs index e77d5db11d5d6..44c34f1677ddd 100644 --- a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/Models/ResourceNameAvailabilityParameters.cs +++ b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/Models/CheckNameAvailabilityParameters.cs @@ -17,26 +17,26 @@ namespace Microsoft.Azure.Management.RecoveryServices.Models /// Resource Name availability input parameters - Resource type and /// resource name /// - public partial class ResourceNameAvailabilityParameters + public partial class CheckNameAvailabilityParameters { /// - /// Initializes a new instance of the - /// ResourceNameAvailabilityParameters class. + /// Initializes a new instance of the CheckNameAvailabilityParameters + /// class. /// - public ResourceNameAvailabilityParameters() + public CheckNameAvailabilityParameters() { CustomInit(); } /// - /// Initializes a new instance of the - /// ResourceNameAvailabilityParameters class. + /// Initializes a new instance of the CheckNameAvailabilityParameters + /// class. /// /// Describes the Resource type: /// Microsoft.RecoveryServices/Vaults /// Resource name for which availability needs to be /// checked - public ResourceNameAvailabilityParameters(string type = default(string), string name = default(string)) + public CheckNameAvailabilityParameters(string type = default(string), string name = default(string)) { Type = type; Name = name; diff --git a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperations.cs b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperations.cs index 253e5e7dd2db6..26ad2c4e65d57 100644 --- a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperations.cs +++ b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperations.cs @@ -88,7 +88,7 @@ internal RecoveryServicesOperations(RecoveryServicesClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CheckNameAvailabilityWithHttpMessagesAsync(string resourceGroupName, string location, ResourceNameAvailabilityParameters input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CheckNameAvailabilityWithHttpMessagesAsync(string resourceGroupName, string location, CheckNameAvailabilityParameters input, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { diff --git a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperationsExtensions.cs b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperationsExtensions.cs index d902e690ab169..d68e3162b5d66 100644 --- a/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperationsExtensions.cs +++ b/src/SDKs/RecoveryServices/Management.RecoveryServices/Generated/RecoveryServicesOperationsExtensions.cs @@ -41,7 +41,7 @@ public static partial class RecoveryServicesOperationsExtensions /// /// Contains information about Resource type and Resource name /// - public static CheckNameAvailabilityResultResource CheckNameAvailability(this IRecoveryServicesOperations operations, string resourceGroupName, string location, ResourceNameAvailabilityParameters input) + public static CheckNameAvailabilityResultResource CheckNameAvailability(this IRecoveryServicesOperations operations, string resourceGroupName, string location, CheckNameAvailabilityParameters input) { return operations.CheckNameAvailabilityAsync(resourceGroupName, location, input).GetAwaiter().GetResult(); } @@ -69,7 +69,7 @@ public static CheckNameAvailabilityResultResource CheckNameAvailability(this IRe /// /// The cancellation token. /// - public static async Task CheckNameAvailabilityAsync(this IRecoveryServicesOperations operations, string resourceGroupName, string location, ResourceNameAvailabilityParameters input, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CheckNameAvailabilityAsync(this IRecoveryServicesOperations operations, string resourceGroupName, string location, CheckNameAvailabilityParameters input, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CheckNameAvailabilityWithHttpMessagesAsync(resourceGroupName, location, input, null, cancellationToken).ConfigureAwait(false)) {