diff --git a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperations.cs b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperations.cs index 259c3b95e5ed1..da63af34e2a7e 100644 --- a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperations.cs +++ b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperations.cs @@ -665,7 +665,7 @@ internal GlobalUsersOperations(ManagedLabsClient client) /// /// The name of the user. /// - /// + /// /// Represents payload for any Environment operations like get, start, stop, /// connect /// @@ -690,15 +690,15 @@ internal GlobalUsersOperations(ManagedLabsClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetPersonalPreferencesWithHttpMessagesAsync(string userName, PersonalPerferencesOperationsPayload personalPerferencesOperationsPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetPersonalPreferencesWithHttpMessagesAsync(string userName, PersonalPreferencesOperationsPayload personalPreferencesOperationsPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (userName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "userName"); } - if (personalPerferencesOperationsPayload == null) + if (personalPreferencesOperationsPayload == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "personalPerferencesOperationsPayload"); + throw new ValidationException(ValidationRules.CannotBeNull, "personalPreferencesOperationsPayload"); } if (Client.ApiVersion == null) { @@ -712,7 +712,7 @@ internal GlobalUsersOperations(ManagedLabsClient client) _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("userName", userName); - tracingParameters.Add("personalPerferencesOperationsPayload", personalPerferencesOperationsPayload); + tracingParameters.Add("personalPreferencesOperationsPayload", personalPreferencesOperationsPayload); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "GetPersonalPreferences", tracingParameters); } @@ -763,9 +763,9 @@ internal GlobalUsersOperations(ManagedLabsClient client) // Serialize Request string _requestContent = null; - if(personalPerferencesOperationsPayload != null) + if(personalPreferencesOperationsPayload != null) { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(personalPerferencesOperationsPayload, Client.SerializationSettings); + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(personalPreferencesOperationsPayload, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } diff --git a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperationsExtensions.cs b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperationsExtensions.cs index 684e85ecd37dd..1b0843d8fbef4 100644 --- a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperationsExtensions.cs +++ b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/GlobalUsersOperationsExtensions.cs @@ -158,13 +158,13 @@ public static OperationStatusResponse GetOperationStatus(this IGlobalUsersOperat /// /// The name of the user. /// - /// + /// /// Represents payload for any Environment operations like get, start, stop, /// connect /// - public static GetPersonalPreferencesResponse GetPersonalPreferences(this IGlobalUsersOperations operations, string userName, PersonalPerferencesOperationsPayload personalPerferencesOperationsPayload) + public static GetPersonalPreferencesResponse GetPersonalPreferences(this IGlobalUsersOperations operations, string userName, PersonalPreferencesOperationsPayload personalPreferencesOperationsPayload) { - return operations.GetPersonalPreferencesAsync(userName, personalPerferencesOperationsPayload).GetAwaiter().GetResult(); + return operations.GetPersonalPreferencesAsync(userName, personalPreferencesOperationsPayload).GetAwaiter().GetResult(); } /// @@ -176,16 +176,16 @@ public static GetPersonalPreferencesResponse GetPersonalPreferences(this IGlobal /// /// The name of the user. /// - /// + /// /// Represents payload for any Environment operations like get, start, stop, /// connect /// /// /// The cancellation token. /// - public static async Task GetPersonalPreferencesAsync(this IGlobalUsersOperations operations, string userName, PersonalPerferencesOperationsPayload personalPerferencesOperationsPayload, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetPersonalPreferencesAsync(this IGlobalUsersOperations operations, string userName, PersonalPreferencesOperationsPayload personalPreferencesOperationsPayload, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetPersonalPreferencesWithHttpMessagesAsync(userName, personalPerferencesOperationsPayload, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetPersonalPreferencesWithHttpMessagesAsync(userName, personalPreferencesOperationsPayload, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/IGlobalUsersOperations.cs b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/IGlobalUsersOperations.cs index a69eef11ce719..7a9a03a577211 100644 --- a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/IGlobalUsersOperations.cs +++ b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/IGlobalUsersOperations.cs @@ -109,7 +109,7 @@ public partial interface IGlobalUsersOperations /// /// The name of the user. /// - /// + /// /// Represents payload for any Environment operations like get, start, /// stop, connect /// @@ -128,7 +128,7 @@ public partial interface IGlobalUsersOperations /// /// Thrown when a required parameter is null /// - Task> GetPersonalPreferencesWithHttpMessagesAsync(string userName, PersonalPerferencesOperationsPayload personalPerferencesOperationsPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetPersonalPreferencesWithHttpMessagesAsync(string userName, PersonalPreferencesOperationsPayload personalPreferencesOperationsPayload, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// List Environments for the user /// diff --git a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/ListEnvironmentsResponse.cs b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/ListEnvironmentsResponse.cs index 87685b885d022..83d850f6d3b18 100644 --- a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/ListEnvironmentsResponse.cs +++ b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/ListEnvironmentsResponse.cs @@ -31,7 +31,7 @@ public ListEnvironmentsResponse() /// /// Initializes a new instance of the ListEnvironmentsResponse class. /// - /// List of all the evironments + /// List of all the environments public ListEnvironmentsResponse(IList environments = default(IList)) { Environments = environments; @@ -44,7 +44,7 @@ public ListEnvironmentsResponse() partial void CustomInit(); /// - /// Gets or sets list of all the evironments + /// Gets or sets list of all the environments /// [JsonProperty(PropertyName = "environments")] public IList Environments { get; set; } diff --git a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/PersonalPerferencesOperationsPayload.cs b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/PersonalPreferencesOperationsPayload.cs similarity index 89% rename from sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/PersonalPerferencesOperationsPayload.cs rename to sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/PersonalPreferencesOperationsPayload.cs index 9fb40d324c4a1..727f7e595f2fc 100644 --- a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/PersonalPerferencesOperationsPayload.cs +++ b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/PersonalPreferencesOperationsPayload.cs @@ -17,20 +17,20 @@ namespace Microsoft.Azure.Management.LabServices.Models /// Represents payload for any Environment operations like get, start, /// stop, connect /// - public partial class PersonalPerferencesOperationsPayload + public partial class PersonalPreferencesOperationsPayload { /// /// Initializes a new instance of the - /// PersonalPerferencesOperationsPayload class. + /// PersonalPreferencesOperationsPayload class. /// - public PersonalPerferencesOperationsPayload() + public PersonalPreferencesOperationsPayload() { CustomInit(); } /// /// Initializes a new instance of the - /// PersonalPerferencesOperationsPayload class. + /// PersonalPreferencesOperationsPayload class. /// /// Resource Id of the lab /// account @@ -39,7 +39,7 @@ public PersonalPerferencesOperationsPayload() /// 'Remove' /// Resource Id of the lab to add/remove /// from the favorites list - public PersonalPerferencesOperationsPayload(string labAccountResourceId = default(string), string addRemove = default(string), string labResourceId = default(string)) + public PersonalPreferencesOperationsPayload(string labAccountResourceId = default(string), string addRemove = default(string), string labResourceId = default(string)) { LabAccountResourceId = labAccountResourceId; AddRemove = addRemove; diff --git a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/SdkInfo_ManagedLabsClient.cs b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/SdkInfo_ManagedLabsClient.cs index f01441782eed6..1a595d92905f1 100644 --- a/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/SdkInfo_ManagedLabsClient.cs +++ b/sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/SdkInfo_ManagedLabsClient.cs @@ -31,16 +31,5 @@ public static IEnumerable> ApiInfo_ManagedLabsClie }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/labservices/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\\git\\azure-sdk-for-net\\src\\SDKs"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "d02b8b65bf8ce5d8322c92530bf6b2e6dd3b9aab"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -