custom/LoadTestResourceCustom.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Models.Api20221201 { using static Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Runtime.Extensions; public partial class EncryptionPropertiesIdentity { partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.LoadTesting.Runtime.Json.JsonObject container){ if(string.Empty.Equals(this.ResourceId)) { container.Remove("resourceId"); container.Add("resourceId", Runtime.Json.XNull.Instance); } } } } |