From dbcb1066987fbb375e4c9a0549069ce218a3a2ad Mon Sep 17 00:00:00 2001 From: Xiaogang Ding Date: Thu, 7 Aug 2025 19:00:59 +0800 Subject: [PATCH] tsp - Fixed operationId issue to align with typespec-autorest --- .../src/convertor/convertor.ts | 71 ++- .../target/.gitignore | 16 - .../generated/api/AzureLargeInstance.cs | 468 +++++++++--------- ...tartAcceptedResponseHeaders.PowerShell.cs} | 48 +- ...tAcceptedResponseHeaders.TypeConverter.cs} | 28 +- ...InstanceRestartAcceptedResponseHeaders.cs} | 18 +- ...nceRestartAcceptedResponseHeaders.json.cs} | 18 +- ...downAcceptedResponseHeaders.PowerShell.cs} | 46 +- ...nAcceptedResponseHeaders.TypeConverter.cs} | 28 +- ...nstanceShutdownAcceptedResponseHeaders.cs} | 18 +- ...ceShutdownAcceptedResponseHeaders.json.cs} | 18 +- ...tartAcceptedResponseHeaders.PowerShell.cs} | 46 +- ...tAcceptedResponseHeaders.TypeConverter.cs} | 32 +- ...geInstanceStartAcceptedResponseHeaders.cs} | 18 +- ...tanceStartAcceptedResponseHeaders.json.cs} | 18 +- ...zureLargeInstanceAzureLargeInstance_Get.cs | 2 +- ...stanceAzureLargeInstance_GetViaIdentity.cs | 4 +- ...ureLargeInstanceAzureLargeInstance_List.cs | 4 +- ...reLargeInstanceAzureLargeInstance_List1.cs | 4 +- ...geInstanceAzureLargeStorageInstance_Get.cs | 2 +- ...zureLargeStorageInstance_GetViaIdentity.cs | 4 +- ...eInstanceAzureLargeStorageInstance_List.cs | 4 +- ...InstanceAzureLargeStorageInstance_List1.cs | 4 +- ...stanceAzureLargeInstance_CreateExpanded.cs | 4 +- ...LargeInstance_CreateViaIdentityExpanded.cs | 6 +- ...zureLargeInstance_CreateViaJsonFilePath.cs | 4 +- ...eAzureLargeInstance_CreateViaJsonString.cs | 4 +- ...zureLargeStorageInstance_CreateExpanded.cs | 4 +- ...orageInstance_CreateViaIdentityExpanded.cs | 6 +- ...geStorageInstance_CreateViaJsonFilePath.cs | 4 +- ...argeStorageInstance_CreateViaJsonString.cs | 4 +- ...eLargeInstanceAzureLargeInstance_Delete.cs | 4 +- ...nceAzureLargeInstance_DeleteViaIdentity.cs | 6 +- ...nstanceAzureLargeStorageInstance_Delete.cs | 4 +- ...eLargeStorageInstance_DeleteViaIdentity.cs | 6 +- ...LargeInstanceAzureLargeInstance_Restart.cs | 4 +- ...tanceAzureLargeInstance_RestartExpanded.cs | 4 +- ...ceAzureLargeInstance_RestartViaIdentity.cs | 6 +- ...argeInstance_RestartViaIdentityExpanded.cs | 6 +- ...ureLargeInstance_RestartViaJsonFilePath.cs | 4 +- ...AzureLargeInstance_RestartViaJsonString.cs | 4 +- ...reLargeInstanceAzureLargeInstance_Start.cs | 4 +- ...anceAzureLargeInstance_StartViaIdentity.cs | 6 +- ...argeInstanceAzureLargeInstance_Shutdown.cs | 4 +- ...eAzureLargeInstance_ShutdownViaIdentity.cs | 6 +- ...stanceAzureLargeInstance_UpdateExpanded.cs | 4 +- ...LargeInstance_UpdateViaIdentityExpanded.cs | 6 +- ...zureLargeInstance_UpdateViaJsonFilePath.cs | 4 +- ...eAzureLargeInstance_UpdateViaJsonString.cs | 4 +- ...zureLargeStorageInstance_UpdateExpanded.cs | 6 +- ...orageInstance_UpdateViaIdentityExpanded.cs | 10 +- 51 files changed, 544 insertions(+), 513 deletions(-) delete mode 100644 tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/.gitignore rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesShutdownAcceptedResponseHeaders.PowerShell.cs => AzureLargeInstanceRestartAcceptedResponseHeaders.PowerShell.cs} (71%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesStartAcceptedResponseHeaders.TypeConverter.cs => AzureLargeInstanceRestartAcceptedResponseHeaders.TypeConverter.cs} (82%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesShutdownAcceptedResponseHeaders.cs => AzureLargeInstanceRestartAcceptedResponseHeaders.cs} (71%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesShutdownAcceptedResponseHeaders.json.cs => AzureLargeInstanceRestartAcceptedResponseHeaders.json.cs} (86%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesRestartAcceptedResponseHeaders.PowerShell.cs => AzureLargeInstanceShutdownAcceptedResponseHeaders.PowerShell.cs} (84%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesRestartAcceptedResponseHeaders.TypeConverter.cs => AzureLargeInstanceShutdownAcceptedResponseHeaders.TypeConverter.cs} (89%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesRestartAcceptedResponseHeaders.cs => AzureLargeInstanceShutdownAcceptedResponseHeaders.cs} (85%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesRestartAcceptedResponseHeaders.json.cs => AzureLargeInstanceShutdownAcceptedResponseHeaders.json.cs} (91%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesStartAcceptedResponseHeaders.PowerShell.cs => AzureLargeInstanceStartAcceptedResponseHeaders.PowerShell.cs} (72%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesShutdownAcceptedResponseHeaders.TypeConverter.cs => AzureLargeInstanceStartAcceptedResponseHeaders.TypeConverter.cs} (81%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesStartAcceptedResponseHeaders.cs => AzureLargeInstanceStartAcceptedResponseHeaders.cs} (72%) rename tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/{AzureLargeInstancesStartAcceptedResponseHeaders.json.cs => AzureLargeInstanceStartAcceptedResponseHeaders.json.cs} (87%) diff --git a/packages/typespec-powershell/src/convertor/convertor.ts b/packages/typespec-powershell/src/convertor/convertor.ts index c7b694f9241..c5d8669be55 100644 --- a/packages/typespec-powershell/src/convertor/convertor.ts +++ b/packages/typespec-powershell/src/convertor/convertor.ts @@ -1,9 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { SdkClient, SdkContext, listOperationsInOperationGroup, listOperationGroups } from "@azure-tools/typespec-client-generator-core"; +import { SdkClient, SdkContext, listOperationsInOperationGroup, listOperationGroups, getClientNameOverride, getClientLocation } from "@azure-tools/typespec-client-generator-core"; import { HttpOperation, HttpOperationParameter, HttpOperationBody, getHttpOperation } from "@typespec/http"; -import { getDoc, getService, ignoreDiagnostics, Program, Model, Type } from "@typespec/compiler"; +import { getDoc, getService, ignoreDiagnostics, Program, Model, Type, Operation as TypeSpecOperation, isGlobalNamespace, isService } from "@typespec/compiler"; +import { capitalize } from "@typespec/compiler/casing"; import { getServers } from "@typespec/http"; import { join } from "path"; import { PwshModel } from "@autorest/powershell"; @@ -133,27 +134,79 @@ function getOperationGroups(program: Program, client: SdkClient, psContext: SdkC if (op.overloads && op.overloads?.length > 0) { continue; } - let group = operationGroupsMap.get(operation.interface?.name || ""); + const operationId = resolveOperationId(psContext, op); + let group = operationGroupsMap.get(operationId.split("_")[0] || ""); if (!group) { group = new OperationGroup(""); - group.language.default.name = group.$key = operation.interface?.name || ""; - operationGroupsMap.set(operation.interface?.name || "", group); + group.language.default.name = group.$key = operationId.split("_")[0] || ""; + operationGroupsMap.set(operationId.split("_")[0] || "", group); } addOperation(psContext, op, group, model, emitterOptions); } return Array.from(operationGroupsMap.values()); } -function resolveOperationId(psContext: SdkContext, op: HttpOperation, operationGroup: OperationGroup): string { - const explicitOperationId = getOperationId(psContext.program, op.operation); +function resolveOperationId(psContext: SdkContext, op: HttpOperation): string { + const { program } = psContext; + const operation = op.operation; + + const explicitOperationId = getOperationId(program, operation); if (explicitOperationId) { return explicitOperationId; } - return operationGroup.$key + "_" + pascalCase(op.operation.name); + + const operationName = getClientName(psContext, operation); + + // Check for `@clientLocation` decorator + const clientLocation = getClientLocation(psContext, operation); + if (clientLocation) { + if (typeof clientLocation === "string") { + return standardizeOperationId(`${clientLocation}_${operationName}`); + } + + if (clientLocation.kind === "Interface") { + return standardizeOperationId(`${getClientName(psContext, clientLocation)}_${operationName}`); + } + + if (clientLocation.kind === "Namespace") { + if (isGlobalNamespace(program, clientLocation) || isService(program, clientLocation)) { + return standardizeOperationId(operationName); + } + return standardizeOperationId(`${getClientName(psContext, clientLocation)}_${operationName}`); + } + } + + if (operation.interface) { + return standardizeOperationId( + `${getClientName(psContext, operation.interface)}_${operationName}`, + ); + } + const namespace = operation.namespace; + if ( + namespace === undefined || + isGlobalNamespace(program, namespace) || + isService(program, namespace) + ) { + return standardizeOperationId(operationName); + } + + return standardizeOperationId(`${getClientName(psContext, namespace)}_${operationName}`); +} + +function getClientName(context: SdkContext, type: Type & { name: string }) { + const clientName = getClientNameOverride(context, type); + return clientName ?? type.name; +} + +function standardizeOperationId(name: string) { + return name + .split("_") + .map((s) => capitalize(s)) + .join("_"); } function addOperation(psContext: SdkContext, op: HttpOperation, operationGroup: OperationGroup, model: PwshModel, emitterOptions: PSOptions) { - const operationId = resolveOperationId(psContext, op, operationGroup); + const operationId = resolveOperationId(psContext, op); const newOperation = new Operation( operationId.split('_')[1] ?? pascalCase(op.operation.name), getDoc(psContext.program, op.operation) ?? ""); newOperation.operationId = operationId; // Add Api versions diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/.gitignore b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/.gitignore deleted file mode 100644 index 6ec158bd976..00000000000 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -bin -obj -.vs -generated -internal -exports -tools -test/*-TestResults.xml -license.txt -/*.ps1 -/*.psd1 -/*.ps1xml -/*.psm1 -/*.snk -/*.csproj -/*.nuspec \ No newline at end of file diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/AzureLargeInstance.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/AzureLargeInstance.cs index c019af2c4e6..c08b8bad14e 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/AzureLargeInstance.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/AzureLargeInstance.cs @@ -30,7 +30,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesCreate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceCreate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -61,7 +61,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.AzureLargeInstanceCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); } } @@ -81,7 +81,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -124,7 +124,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.AzureLargeInstanceCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); } } @@ -141,7 +141,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -184,7 +184,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesCreateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceCreateWithResult_Call (request, eventListener,sender); } } @@ -195,7 +195,7 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeInstance. - /// Json string supplied to the AzureLargeInstancesCreate operation + /// Json string supplied to the AzureLargeInstanceCreate operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 201 (Created). /// a delegate that is called when the remote service returns default (any response code not handled @@ -205,7 +205,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesCreateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceCreateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -236,7 +236,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.AzureLargeInstanceCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); } } @@ -247,14 +247,14 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeInstance. - /// Json string supplied to the AzureLargeInstancesCreate operation + /// Json string supplied to the AzureLargeInstanceCreate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -285,7 +285,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesCreateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceCreateWithResult_Call (request, eventListener,sender); } } @@ -304,7 +304,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesCreateWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceCreateWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -335,13 +335,11 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesCreateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceCreateWithResult_Call (request, eventListener,sender); } } - /// - /// Actual wire call for method. - /// + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. @@ -349,7 +347,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesCreateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceCreateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -407,7 +405,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 201 (Created). @@ -418,7 +416,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesCreate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceCreate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -465,7 +463,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will get + /// Validation method for method. Call this like the actual call, but you will get /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -476,7 +474,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesCreate_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceCreate_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -509,7 +507,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesDelete(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceDelete(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -536,7 +534,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.AzureLargeInstanceDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } @@ -554,7 +552,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -593,11 +591,11 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.AzureLargeInstanceDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -608,7 +606,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -655,7 +653,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will get + /// Validation method for method. Call this like the actual call, but you will get /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -665,7 +663,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesDelete_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceDelete_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -695,7 +693,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesGet(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceGet(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -722,7 +720,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceGet_Call (request, onOk,onDefault,eventListener,sender); } } @@ -739,7 +737,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -778,7 +776,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceGet_Call (request, onOk,onDefault,eventListener,sender); } } @@ -793,7 +791,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -832,7 +830,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesGetWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceGetWithResult_Call (request, eventListener,sender); } } @@ -849,7 +847,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesGetWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceGetWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -876,11 +874,11 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesGetWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceGetWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. @@ -888,7 +886,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -940,7 +938,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -950,7 +948,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -991,7 +989,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -1001,7 +999,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesGet_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceGet_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1030,7 +1028,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1056,7 +1054,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } @@ -1073,7 +1071,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1110,7 +1108,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } @@ -1125,7 +1123,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1162,7 +1160,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceListByResourceGroupWithResult_Call (request, eventListener,sender); } } @@ -1178,7 +1176,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1204,12 +1202,12 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceListByResourceGroupWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -1218,7 +1216,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1271,7 +1269,7 @@ public partial class AzureLargeInstance } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). @@ -1282,7 +1280,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1323,7 +1321,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but + /// Validation method for method. Call this like the actual call, but /// you will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -1332,7 +1330,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1358,7 +1356,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1382,7 +1380,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceListBySubscription_Call (request, onOk,onDefault,eventListener,sender); } } @@ -1399,7 +1397,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1433,7 +1431,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceListBySubscription_Call (request, onOk,onDefault,eventListener,sender); } } @@ -1448,7 +1446,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1482,7 +1480,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesListBySubscriptionWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceListBySubscriptionWithResult_Call (request, eventListener,sender); } } @@ -1497,7 +1495,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1521,12 +1519,12 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesListBySubscriptionWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceListBySubscriptionWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -1535,7 +1533,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1588,7 +1586,7 @@ public partial class AzureLargeInstance } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). @@ -1599,7 +1597,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1640,7 +1638,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but + /// Validation method for method. Call this like the actual call, but /// you will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -1648,7 +1646,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1672,7 +1670,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesRestart(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceRestart(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1704,7 +1702,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesRestart_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceRestart_Call (request, onOk,onDefault,eventListener,sender); } } @@ -1721,7 +1719,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesRestartViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceRestartViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1765,7 +1763,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesRestart_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceRestart_Call (request, onOk,onDefault,eventListener,sender); } } @@ -1780,7 +1778,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesRestartViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceRestartViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1824,7 +1822,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesRestartWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceRestartWithResult_Call (request, eventListener,sender); } } @@ -1832,7 +1830,7 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeInstance. - /// Json string supplied to the AzureLargeInstancesRestart operation + /// Json string supplied to the AzureLargeInstanceRestart operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -1841,7 +1839,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesRestartViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceRestartViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1873,7 +1871,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesRestart_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceRestart_Call (request, onOk,onDefault,eventListener,sender); } } @@ -1881,14 +1879,14 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeInstance. - /// Json string supplied to the AzureLargeInstancesRestart operation + /// Json string supplied to the AzureLargeInstanceRestart operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesRestartViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceRestartViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1920,7 +1918,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesRestartWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceRestartWithResult_Call (request, eventListener,sender); } } @@ -1937,7 +1935,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesRestartWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceRestartWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -1969,12 +1967,12 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesRestartWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceRestartWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -1983,7 +1981,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesRestartWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceRestartWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2128,7 +2126,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2138,7 +2136,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesRestart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceRestart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2272,7 +2270,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will get + /// Validation method for method. Call this like the actual call, but you will get /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -2284,7 +2282,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesRestart_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceRestart_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IForceState body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2313,7 +2311,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesShutdown(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceShutdown(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -2341,7 +2339,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesShutdown_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceShutdown_Call (request, onOk,onDefault,eventListener,sender); } } @@ -2355,7 +2353,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesShutdownViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceShutdownViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -2395,7 +2393,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesShutdown_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceShutdown_Call (request, onOk,onDefault,eventListener,sender); } } @@ -2407,7 +2405,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesShutdownViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceShutdownViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -2447,7 +2445,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesShutdownWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceShutdownWithResult_Call (request, eventListener,sender); } } @@ -2461,7 +2459,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesShutdownWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceShutdownWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -2489,12 +2487,12 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesShutdownWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceShutdownWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -2503,7 +2501,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesShutdownWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceShutdownWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2648,7 +2646,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2658,7 +2656,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesShutdown_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceShutdown_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2792,8 +2790,8 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -2802,7 +2800,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesShutdown_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceShutdown_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2829,7 +2827,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesStart(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceStart(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -2857,7 +2855,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesStart_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceStart_Call (request, onOk,onDefault,eventListener,sender); } } @@ -2871,7 +2869,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesStartViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceStartViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -2911,7 +2909,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesStart_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceStart_Call (request, onOk,onDefault,eventListener,sender); } } @@ -2923,7 +2921,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesStartViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceStartViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -2963,7 +2961,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesStartWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceStartWithResult_Call (request, eventListener,sender); } } @@ -2977,7 +2975,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesStartWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceStartWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3005,11 +3003,11 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesStartWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceStartWithResult_Call (request, eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. @@ -3017,7 +3015,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesStartWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceStartWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3162,7 +3160,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3172,7 +3170,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesStart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceStart_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3306,7 +3304,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will get + /// Validation method for method. Call this like the actual call, but you will get /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -3316,7 +3314,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesStart_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceStart_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3348,7 +3346,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesUpdate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceUpdate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3379,7 +3377,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceUpdate_Call (request, onOk,onDefault,eventListener,sender); } } @@ -3398,7 +3396,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3441,7 +3439,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceUpdate_Call (request, onOk,onDefault,eventListener,sender); } } @@ -3458,7 +3456,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3501,7 +3499,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesUpdateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceUpdateWithResult_Call (request, eventListener,sender); } } @@ -3512,7 +3510,7 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeInstance. - /// Json string supplied to the AzureLargeInstancesUpdate operation + /// Json string supplied to the AzureLargeInstanceUpdate operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -3521,7 +3519,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceUpdateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3552,7 +3550,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeInstancesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeInstanceUpdate_Call (request, onOk,onDefault,eventListener,sender); } } @@ -3563,14 +3561,14 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeInstance. - /// Json string supplied to the AzureLargeInstancesUpdate operation + /// Json string supplied to the AzureLargeInstanceUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeInstanceUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3601,7 +3599,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesUpdateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceUpdateWithResult_Call (request, eventListener,sender); } } @@ -3620,7 +3618,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeInstancesUpdateWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeInstanceUpdateWithResult(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3651,13 +3649,11 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeInstancesUpdateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeInstanceUpdateWithResult_Call (request, eventListener,sender); } } - /// - /// Actual wire call for method. - /// + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. @@ -3665,7 +3661,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3717,7 +3713,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3727,7 +3723,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3768,7 +3764,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will get + /// Validation method for method. Call this like the actual call, but you will get /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -3779,7 +3775,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeInstancesUpdate_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeInstanceUpdate_Validate(string subscriptionId, string resourceGroupName, string azureLargeInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3814,7 +3810,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3845,7 +3841,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); } } @@ -3865,7 +3861,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3908,7 +3904,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); } } @@ -3925,7 +3921,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -3968,7 +3964,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesCreateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceCreateWithResult_Call (request, eventListener,sender); } } @@ -3979,7 +3975,7 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeStorageInstance. - /// Json string supplied to the AzureLargeStorageInstancesCreate operation + /// Json string supplied to the AzureLargeStorageInstanceCreate operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 201 (Created). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3989,7 +3985,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4020,7 +4016,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceCreate_Call (request, onOk,onCreated,onDefault,eventListener,sender); } } @@ -4031,14 +4027,14 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeStorageInstance. - /// Json string supplied to the AzureLargeStorageInstancesCreate operation + /// Json string supplied to the AzureLargeStorageInstanceCreate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4069,7 +4065,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesCreateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceCreateWithResult_Call (request, eventListener,sender); } } @@ -4088,7 +4084,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreateWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreateWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4119,12 +4115,12 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesCreateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceCreateWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -4133,7 +4129,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4191,7 +4187,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 201 (Created). @@ -4202,7 +4198,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4249,8 +4245,8 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -4260,7 +4256,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesCreate_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceCreate_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstance body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4293,7 +4289,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesDelete(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceDelete(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4320,7 +4316,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } @@ -4338,7 +4334,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4377,11 +4373,11 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceDelete_Call (request, onOk,onNoContent,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -4392,7 +4388,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4439,8 +4435,8 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -4449,7 +4445,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesDelete_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceDelete_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4479,7 +4475,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesGet(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceGet(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4506,7 +4502,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceGet_Call (request, onOk,onDefault,eventListener,sender); } } @@ -4523,7 +4519,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4562,7 +4558,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesGet_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceGet_Call (request, onOk,onDefault,eventListener,sender); } } @@ -4577,7 +4573,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceGetViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4616,7 +4612,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesGetWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceGetWithResult_Call (request, eventListener,sender); } } @@ -4633,7 +4629,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesGetWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceGetWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4660,12 +4656,12 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesGetWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceGetWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -4674,7 +4670,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceGetWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4726,7 +4722,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -4736,7 +4732,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4777,7 +4773,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you will + /// Validation method for method. Call this like the actual call, but you will /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -4787,7 +4783,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesGet_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceGet_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4817,7 +4813,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListByResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4843,7 +4839,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } @@ -4861,7 +4857,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListByResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4898,7 +4894,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceListByResourceGroup_Call (request, onOk,onDefault,eventListener,sender); } } @@ -4914,7 +4910,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListByResourceGroupViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4951,7 +4947,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceListByResourceGroupWithResult_Call (request, eventListener,sender); } } @@ -4968,7 +4964,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListByResourceGroupWithResult(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -4994,12 +4990,12 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesListByResourceGroupWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceListByResourceGroupWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -5008,7 +5004,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListByResourceGroupWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5061,7 +5057,7 @@ public partial class AzureLargeInstance } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). @@ -5072,7 +5068,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListByResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5113,7 +5109,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, + /// Validation method for method. Call this like the actual call, /// but you will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -5122,7 +5118,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListByResourceGroup_Validate(string subscriptionId, string resourceGroupName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5148,7 +5144,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5172,7 +5168,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceListBySubscription_Call (request, onOk,onDefault,eventListener,sender); } } @@ -5189,7 +5185,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5223,7 +5219,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesListBySubscription_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceListBySubscription_Call (request, onOk,onDefault,eventListener,sender); } } @@ -5238,7 +5234,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListBySubscriptionViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5272,7 +5268,7 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesListBySubscriptionWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceListBySubscriptionWithResult_Call (request, eventListener,sender); } } @@ -5287,7 +5283,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListBySubscriptionWithResult(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5311,12 +5307,12 @@ public partial class AzureLargeInstance await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesListBySubscriptionWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceListBySubscriptionWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -5325,7 +5321,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListBySubscriptionWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5378,7 +5374,7 @@ public partial class AzureLargeInstance } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). @@ -5389,7 +5385,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5430,7 +5426,7 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, + /// Validation method for method. Call this like the actual call, /// but you will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -5438,7 +5434,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceListBySubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5464,7 +5460,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5495,7 +5491,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceUpdate_Call (request, onOk,onDefault,eventListener,sender); } } @@ -5514,7 +5510,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5557,7 +5553,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceUpdate_Call (request, onOk,onDefault,eventListener,sender); } } @@ -5574,7 +5570,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdateViaIdentityWithResult(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5617,7 +5613,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesUpdateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceUpdateWithResult_Call (request, eventListener,sender); } } @@ -5628,7 +5624,7 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeStorageInstance. - /// Json string supplied to the AzureLargeStorageInstancesUpdate operation + /// Json string supplied to the AzureLargeStorageInstanceUpdate operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -5637,7 +5633,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdateViaJsonString(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5668,7 +5664,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.AzureLargeStorageInstancesUpdate_Call (request, onOk,onDefault,eventListener,sender); + await this.AzureLargeStorageInstanceUpdate_Call (request, onOk,onDefault,eventListener,sender); } } @@ -5679,14 +5675,14 @@ public partial class AzureLargeInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// Name of the AzureLargeStorageInstance. - /// Json string supplied to the AzureLargeStorageInstancesUpdate operation + /// Json string supplied to the AzureLargeStorageInstanceUpdate operation /// an instance that will receive events. /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync pipeline to use to make the request. /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdateViaJsonStringWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, global::System.String jsonString, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5717,7 +5713,7 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesUpdateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceUpdateWithResult_Call (request, eventListener,sender); } } @@ -5736,7 +5732,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdateWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) + public async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdateWithResult(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate) { var apiVersion = @"2024-08-01-preview"; // Constant Parameters @@ -5767,12 +5763,12 @@ public partial class AzureLargeInstance request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return null; } // make the call - return await this.AzureLargeStorageInstancesUpdateWithResult_Call (request, eventListener,sender); + return await this.AzureLargeStorageInstanceUpdateWithResult_Call (request, eventListener,sender); } } /// - /// Actual wire call for method. + /// Actual wire call for method. /// /// the prepared HttpRequestMessage to send. /// an instance that will receive events. @@ -5781,7 +5777,7 @@ public partial class AzureLargeInstance /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdateWithResult_Call(global::System.Net.Http.HttpRequestMessage request, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5833,7 +5829,7 @@ public partial class AzureLargeInstance } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5843,7 +5839,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5884,8 +5880,8 @@ public partial class AzureLargeInstance } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -5895,7 +5891,7 @@ public partial class AzureLargeInstance /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AzureLargeStorageInstancesUpdate_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AzureLargeStorageInstanceUpdate_Validate(string subscriptionId, string resourceGroupName, string azureLargeStorageInstanceName, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeStorageInstanceTagsUpdate body, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.PowerShell.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.PowerShell.cs similarity index 71% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.PowerShell.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.PowerShell.cs index 88bf9e48e56..a2fd5a1cdea 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.PowerShell.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.PowerShell.cs @@ -5,8 +5,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell; - [System.ComponentModel.TypeConverter(typeof(AzureLargeInstancesShutdownAcceptedResponseHeadersTypeConverter))] - public partial class AzureLargeInstancesShutdownAcceptedResponseHeaders + [System.ComponentModel.TypeConverter(typeof(AzureLargeInstanceRestartAcceptedResponseHeadersTypeConverter))] + public partial class AzureLargeInstanceRestartAcceptedResponseHeaders { /// @@ -60,11 +60,11 @@ public partial class AzureLargeInstancesShutdownAcceptedResponseHeaders partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal AzureLargeInstancesShutdownAcceptedResponseHeaders(global::System.Collections.IDictionary content) + internal AzureLargeInstanceRestartAcceptedResponseHeaders(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -75,21 +75,21 @@ internal AzureLargeInstancesShutdownAcceptedResponseHeaders(global::System.Colle // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("RetryAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal AzureLargeInstancesShutdownAcceptedResponseHeaders(global::System.Management.Automation.PSObject content) + internal AzureLargeInstanceRestartAcceptedResponseHeaders(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -100,52 +100,52 @@ internal AzureLargeInstancesShutdownAcceptedResponseHeaders(global::System.Manag // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("RetryAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new AzureLargeInstancesShutdownAcceptedResponseHeaders(content); + return new AzureLargeInstanceRestartAcceptedResponseHeaders(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new AzureLargeInstancesShutdownAcceptedResponseHeaders(content); + return new AzureLargeInstanceRestartAcceptedResponseHeaders(content); } /// - /// Creates a new instance of , deserializing the content - /// from a json string. + /// Creates a new instance of , deserializing the content from + /// a json string. /// /// a string containing a JSON serialized instance of this model. /// - /// an instance of the model class. + /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -164,8 +164,8 @@ public override string ToString() return ToJsonString(); } } - [System.ComponentModel.TypeConverter(typeof(AzureLargeInstancesShutdownAcceptedResponseHeadersTypeConverter))] - public partial interface IAzureLargeInstancesShutdownAcceptedResponseHeaders + [System.ComponentModel.TypeConverter(typeof(AzureLargeInstanceRestartAcceptedResponseHeadersTypeConverter))] + public partial interface IAzureLargeInstanceRestartAcceptedResponseHeaders { diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.TypeConverter.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.TypeConverter.cs similarity index 82% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.TypeConverter.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.TypeConverter.cs index 87099442ced..5cfcb2cb81b 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.TypeConverter.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.TypeConverter.cs @@ -6,10 +6,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models using Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell; /// - /// A PowerShell PSTypeConverter to support converting to an instance of /// - public partial class AzureLargeInstancesStartAcceptedResponseHeadersTypeConverter : global::System.Management.Automation.PSTypeConverter + public partial class AzureLargeInstanceRestartAcceptedResponseHeadersTypeConverter : global::System.Management.Automation.PSTypeConverter { /// @@ -25,13 +25,13 @@ public partial class AzureLargeInstancesStartAcceptedResponseHeadersTypeConverte public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the + /// Determines if the converter can convert the parameter to the /// type. /// - /// the instance to check if it can be converted to the the instance to check if it can be converted to the type. /// - /// true if the instance could be converted to a type, + /// true if the instance could be converted to a type, /// otherwise false /// public static bool CanConvertFrom(dynamic sourceValue) @@ -95,35 +95,35 @@ public static bool CanConvertFrom(dynamic sourceValue) /// not used by this TypeConverter. /// when set to true, will ignore the case when converting. /// - /// an instance of , or null if there is no suitable + /// an instance of , or null if there is no suitable /// conversion. /// public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter into an instance of parameter into an instance of /// - /// the value to convert into an instance of the value to convert into an instance of . /// - /// an instance of , or null if there is no suitable + /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders).IsAssignableFrom(type)) { return sourceValue; } try { - return AzureLargeInstancesStartAcceptedResponseHeaders.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + return AzureLargeInstanceRestartAcceptedResponseHeaders.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; } catch { @@ -131,11 +131,11 @@ public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzur } if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) { - return AzureLargeInstancesStartAcceptedResponseHeaders.DeserializeFromPSObject(sourceValue); + return AzureLargeInstanceRestartAcceptedResponseHeaders.DeserializeFromPSObject(sourceValue); } if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) { - return AzureLargeInstancesStartAcceptedResponseHeaders.DeserializeFromDictionary(sourceValue); + return AzureLargeInstanceRestartAcceptedResponseHeaders.DeserializeFromDictionary(sourceValue); } return null; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.cs similarity index 71% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.cs index 93e2ec44fd2..889ccd0a946 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.cs @@ -5,9 +5,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Extensions; - public partial class AzureLargeInstancesShutdownAcceptedResponseHeaders : - Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders, - Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal, + public partial class AzureLargeInstanceRestartAcceptedResponseHeaders : + Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders, + Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IHeaderSerializable { @@ -24,9 +24,9 @@ public partial class AzureLargeInstancesShutdownAcceptedResponseHeaders : public int? RetryAfter { get => this._retryAfter; set => this._retryAfter = value; } /// - /// Creates an new instance. + /// Creates an new instance. /// - public AzureLargeInstancesShutdownAcceptedResponseHeaders() + public AzureLargeInstanceRestartAcceptedResponseHeaders() { } @@ -36,15 +36,15 @@ void Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IHeaderSerial { if (headers.TryGetValues("Location", out var __locationHeader0)) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).Location = System.Linq.Enumerable.FirstOrDefault(__locationHeader0) is string __headerLocationHeader0 ? __headerLocationHeader0 : (string)null; + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).Location = System.Linq.Enumerable.FirstOrDefault(__locationHeader0) is string __headerLocationHeader0 ? __headerLocationHeader0 : (string)null; } if (headers.TryGetValues("Retry-After", out var __retryAfterHeader1)) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal)this).RetryAfter = System.Linq.Enumerable.FirstOrDefault(__retryAfterHeader1) is string __headerRetryAfterHeader1 ? int.TryParse( __headerRetryAfterHeader1, out int __headerRetryAfterHeader1Value ) ? __headerRetryAfterHeader1Value : default(int?) : default(int?); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeadersInternal)this).RetryAfter = System.Linq.Enumerable.FirstOrDefault(__retryAfterHeader1) is string __headerRetryAfterHeader1 ? int.TryParse( __headerRetryAfterHeader1, out int __headerRetryAfterHeader1Value ) ? __headerRetryAfterHeader1Value : default(int?) : default(int?); } } } - public partial interface IAzureLargeInstancesShutdownAcceptedResponseHeaders + public partial interface IAzureLargeInstanceRestartAcceptedResponseHeaders { [Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Info( @@ -70,7 +70,7 @@ public partial interface IAzureLargeInstancesShutdownAcceptedResponseHeaders int? RetryAfter { get; set; } } - internal partial interface IAzureLargeInstancesShutdownAcceptedResponseHeadersInternal + internal partial interface IAzureLargeInstanceRestartAcceptedResponseHeadersInternal { string Location { get; set; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.json.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.json.cs similarity index 86% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.json.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.json.cs index 9c3bd765c32..13b9245c259 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.json.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceRestartAcceptedResponseHeaders.json.cs @@ -5,7 +5,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Extensions; - public partial class AzureLargeInstancesShutdownAcceptedResponseHeaders + public partial class AzureLargeInstanceRestartAcceptedResponseHeaders { /// @@ -51,11 +51,11 @@ public partial class AzureLargeInstancesShutdownAcceptedResponseHeaders partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject into a new instance of . /// /// A Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject instance to deserialize from. - internal AzureLargeInstancesShutdownAcceptedResponseHeaders(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json) + internal AzureLargeInstanceRestartAcceptedResponseHeaders(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); @@ -67,26 +67,26 @@ internal AzureLargeInstancesShutdownAcceptedResponseHeaders(Microsoft.Azure.Powe } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceRestartAcceptedResponseHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode node) { - return node is Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json ? new AzureLargeInstancesShutdownAcceptedResponseHeaders(json) : null; + return node is Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json ? new AzureLargeInstanceRestartAcceptedResponseHeaders(json) : null; } /// - /// Serializes this instance of into a into a . /// /// The container to serialize this object into. If the caller /// passes in null, a new instance will be created and returned to the caller. /// Allows the caller to choose the depth of the serialization. See . /// - /// a serialized instance of as a as a . /// public Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.PowerShell.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.PowerShell.cs similarity index 84% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.PowerShell.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.PowerShell.cs index 42e98a320fc..5da0eb35fb4 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.PowerShell.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.PowerShell.cs @@ -5,8 +5,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell; - [System.ComponentModel.TypeConverter(typeof(AzureLargeInstancesRestartAcceptedResponseHeadersTypeConverter))] - public partial class AzureLargeInstancesRestartAcceptedResponseHeaders + [System.ComponentModel.TypeConverter(typeof(AzureLargeInstanceShutdownAcceptedResponseHeadersTypeConverter))] + public partial class AzureLargeInstanceShutdownAcceptedResponseHeaders { /// @@ -60,11 +60,11 @@ public partial class AzureLargeInstancesRestartAcceptedResponseHeaders partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal AzureLargeInstancesRestartAcceptedResponseHeaders(global::System.Collections.IDictionary content) + internal AzureLargeInstanceShutdownAcceptedResponseHeaders(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -75,21 +75,21 @@ internal AzureLargeInstancesRestartAcceptedResponseHeaders(global::System.Collec // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("RetryAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal AzureLargeInstancesRestartAcceptedResponseHeaders(global::System.Management.Automation.PSObject content) + internal AzureLargeInstanceShutdownAcceptedResponseHeaders(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -100,52 +100,52 @@ internal AzureLargeInstancesRestartAcceptedResponseHeaders(global::System.Manage // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("RetryAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new AzureLargeInstancesRestartAcceptedResponseHeaders(content); + return new AzureLargeInstanceShutdownAcceptedResponseHeaders(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new AzureLargeInstancesRestartAcceptedResponseHeaders(content); + return new AzureLargeInstanceShutdownAcceptedResponseHeaders(content); } /// - /// Creates a new instance of , deserializing the content + /// Creates a new instance of , deserializing the content /// from a json string. /// /// a string containing a JSON serialized instance of this model. /// - /// an instance of the model class. + /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -164,8 +164,8 @@ public override string ToString() return ToJsonString(); } } - [System.ComponentModel.TypeConverter(typeof(AzureLargeInstancesRestartAcceptedResponseHeadersTypeConverter))] - public partial interface IAzureLargeInstancesRestartAcceptedResponseHeaders + [System.ComponentModel.TypeConverter(typeof(AzureLargeInstanceShutdownAcceptedResponseHeadersTypeConverter))] + public partial interface IAzureLargeInstanceShutdownAcceptedResponseHeaders { diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.TypeConverter.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.TypeConverter.cs similarity index 89% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.TypeConverter.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.TypeConverter.cs index e1b58807c58..80ee0d34c94 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.TypeConverter.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.TypeConverter.cs @@ -6,10 +6,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models using Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell; /// - /// A PowerShell PSTypeConverter to support converting to an instance of /// - public partial class AzureLargeInstancesRestartAcceptedResponseHeadersTypeConverter : global::System.Management.Automation.PSTypeConverter + public partial class AzureLargeInstanceShutdownAcceptedResponseHeadersTypeConverter : global::System.Management.Automation.PSTypeConverter { /// @@ -25,13 +25,13 @@ public partial class AzureLargeInstancesRestartAcceptedResponseHeadersTypeConver public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the + /// Determines if the converter can convert the parameter to the /// type. /// - /// the instance to check if it can be converted to the the instance to check if it can be converted to the type. /// - /// true if the instance could be converted to a type, + /// true if the instance could be converted to a type, /// otherwise false /// public static bool CanConvertFrom(dynamic sourceValue) @@ -95,35 +95,35 @@ public static bool CanConvertFrom(dynamic sourceValue) /// not used by this TypeConverter. /// when set to true, will ignore the case when converting. /// - /// an instance of , or null if there is no suitable + /// an instance of , or null if there is no suitable /// conversion. /// public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter into an instance of parameter into an instance of /// - /// the value to convert into an instance of the value to convert into an instance of . /// - /// an instance of , or null if there is no suitable + /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders).IsAssignableFrom(type)) { return sourceValue; } try { - return AzureLargeInstancesRestartAcceptedResponseHeaders.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + return AzureLargeInstanceShutdownAcceptedResponseHeaders.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; } catch { @@ -131,11 +131,11 @@ public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzur } if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) { - return AzureLargeInstancesRestartAcceptedResponseHeaders.DeserializeFromPSObject(sourceValue); + return AzureLargeInstanceShutdownAcceptedResponseHeaders.DeserializeFromPSObject(sourceValue); } if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) { - return AzureLargeInstancesRestartAcceptedResponseHeaders.DeserializeFromDictionary(sourceValue); + return AzureLargeInstanceShutdownAcceptedResponseHeaders.DeserializeFromDictionary(sourceValue); } return null; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.cs similarity index 85% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.cs index 656fefbf25b..5fb004bea58 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.cs @@ -5,9 +5,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Extensions; - public partial class AzureLargeInstancesRestartAcceptedResponseHeaders : - Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders, - Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal, + public partial class AzureLargeInstanceShutdownAcceptedResponseHeaders : + Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders, + Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IHeaderSerializable { @@ -24,9 +24,9 @@ public partial class AzureLargeInstancesRestartAcceptedResponseHeaders : public int? RetryAfter { get => this._retryAfter; set => this._retryAfter = value; } /// - /// Creates an new instance. + /// Creates an new instance. /// - public AzureLargeInstancesRestartAcceptedResponseHeaders() + public AzureLargeInstanceShutdownAcceptedResponseHeaders() { } @@ -36,15 +36,15 @@ void Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IHeaderSerial { if (headers.TryGetValues("Location", out var __locationHeader0)) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).Location = System.Linq.Enumerable.FirstOrDefault(__locationHeader0) is string __headerLocationHeader0 ? __headerLocationHeader0 : (string)null; + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).Location = System.Linq.Enumerable.FirstOrDefault(__locationHeader0) is string __headerLocationHeader0 ? __headerLocationHeader0 : (string)null; } if (headers.TryGetValues("Retry-After", out var __retryAfterHeader1)) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeadersInternal)this).RetryAfter = System.Linq.Enumerable.FirstOrDefault(__retryAfterHeader1) is string __headerRetryAfterHeader1 ? int.TryParse( __headerRetryAfterHeader1, out int __headerRetryAfterHeader1Value ) ? __headerRetryAfterHeader1Value : default(int?) : default(int?); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal)this).RetryAfter = System.Linq.Enumerable.FirstOrDefault(__retryAfterHeader1) is string __headerRetryAfterHeader1 ? int.TryParse( __headerRetryAfterHeader1, out int __headerRetryAfterHeader1Value ) ? __headerRetryAfterHeader1Value : default(int?) : default(int?); } } } - public partial interface IAzureLargeInstancesRestartAcceptedResponseHeaders + public partial interface IAzureLargeInstanceShutdownAcceptedResponseHeaders { [Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Info( @@ -70,7 +70,7 @@ public partial interface IAzureLargeInstancesRestartAcceptedResponseHeaders int? RetryAfter { get; set; } } - internal partial interface IAzureLargeInstancesRestartAcceptedResponseHeadersInternal + internal partial interface IAzureLargeInstanceShutdownAcceptedResponseHeadersInternal { string Location { get; set; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.json.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.json.cs similarity index 91% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.json.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.json.cs index 95828566346..a528a5d26bd 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesRestartAcceptedResponseHeaders.json.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceShutdownAcceptedResponseHeaders.json.cs @@ -5,7 +5,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Extensions; - public partial class AzureLargeInstancesRestartAcceptedResponseHeaders + public partial class AzureLargeInstanceShutdownAcceptedResponseHeaders { /// @@ -51,11 +51,11 @@ public partial class AzureLargeInstancesRestartAcceptedResponseHeaders partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject into a new instance of . /// /// A Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject instance to deserialize from. - internal AzureLargeInstancesRestartAcceptedResponseHeaders(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json) + internal AzureLargeInstanceShutdownAcceptedResponseHeaders(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); @@ -67,26 +67,26 @@ internal AzureLargeInstancesRestartAcceptedResponseHeaders(Microsoft.Azure.Power } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesRestartAcceptedResponseHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceShutdownAcceptedResponseHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode node) { - return node is Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json ? new AzureLargeInstancesRestartAcceptedResponseHeaders(json) : null; + return node is Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json ? new AzureLargeInstanceShutdownAcceptedResponseHeaders(json) : null; } /// - /// Serializes this instance of into a into a . /// /// The container to serialize this object into. If the caller /// passes in null, a new instance will be created and returned to the caller. /// Allows the caller to choose the depth of the serialization. See . /// - /// a serialized instance of as a as a . /// public Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.PowerShell.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.PowerShell.cs similarity index 72% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.PowerShell.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.PowerShell.cs index 7baeb6a32b2..b2fe7f16bb1 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.PowerShell.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.PowerShell.cs @@ -5,8 +5,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell; - [System.ComponentModel.TypeConverter(typeof(AzureLargeInstancesStartAcceptedResponseHeadersTypeConverter))] - public partial class AzureLargeInstancesStartAcceptedResponseHeaders + [System.ComponentModel.TypeConverter(typeof(AzureLargeInstanceStartAcceptedResponseHeadersTypeConverter))] + public partial class AzureLargeInstanceStartAcceptedResponseHeaders { /// @@ -60,11 +60,11 @@ public partial class AzureLargeInstancesStartAcceptedResponseHeaders partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. - internal AzureLargeInstancesStartAcceptedResponseHeaders(global::System.Collections.IDictionary content) + internal AzureLargeInstanceStartAcceptedResponseHeaders(global::System.Collections.IDictionary content) { bool returnNow = false; BeforeDeserializeDictionary(content, ref returnNow); @@ -75,21 +75,21 @@ internal AzureLargeInstancesStartAcceptedResponseHeaders(global::System.Collecti // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("RetryAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. - internal AzureLargeInstancesStartAcceptedResponseHeaders(global::System.Management.Automation.PSObject content) + internal AzureLargeInstanceStartAcceptedResponseHeaders(global::System.Management.Automation.PSObject content) { bool returnNow = false; BeforeDeserializePSObject(content, ref returnNow); @@ -100,52 +100,52 @@ internal AzureLargeInstancesStartAcceptedResponseHeaders(global::System.Manageme // actually deserialize if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("RetryAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).RetryAfter = (int?) content.GetValueForProperty("RetryAfter",((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).RetryAfter, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new AzureLargeInstancesStartAcceptedResponseHeaders(content); + return new AzureLargeInstanceStartAcceptedResponseHeaders(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new AzureLargeInstancesStartAcceptedResponseHeaders(content); + return new AzureLargeInstanceStartAcceptedResponseHeaders(content); } /// - /// Creates a new instance of , deserializing the content from + /// Creates a new instance of , deserializing the content from /// a json string. /// /// a string containing a JSON serialized instance of this model. /// - /// an instance of the model class. + /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -164,8 +164,8 @@ public override string ToString() return ToJsonString(); } } - [System.ComponentModel.TypeConverter(typeof(AzureLargeInstancesStartAcceptedResponseHeadersTypeConverter))] - public partial interface IAzureLargeInstancesStartAcceptedResponseHeaders + [System.ComponentModel.TypeConverter(typeof(AzureLargeInstanceStartAcceptedResponseHeadersTypeConverter))] + public partial interface IAzureLargeInstanceStartAcceptedResponseHeaders { diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.TypeConverter.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.TypeConverter.cs similarity index 81% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.TypeConverter.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.TypeConverter.cs index 0994fb7ac47..b11d699279d 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesShutdownAcceptedResponseHeaders.TypeConverter.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.TypeConverter.cs @@ -6,10 +6,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models using Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell; /// - /// A PowerShell PSTypeConverter to support converting to an instance of /// - public partial class AzureLargeInstancesShutdownAcceptedResponseHeadersTypeConverter : global::System.Management.Automation.PSTypeConverter + public partial class AzureLargeInstanceStartAcceptedResponseHeadersTypeConverter : global::System.Management.Automation.PSTypeConverter { /// @@ -25,14 +25,14 @@ public partial class AzureLargeInstancesShutdownAcceptedResponseHeadersTypeConve public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the + /// Determines if the converter can convert the parameter to the /// type. /// - /// the instance to check if it can be converted to the the instance to check if it can be converted to the type. /// - /// true if the instance could be converted to a - /// type, otherwise false + /// true if the instance could be converted to a type, + /// otherwise false /// public static bool CanConvertFrom(dynamic sourceValue) { @@ -95,35 +95,33 @@ public static bool CanConvertFrom(dynamic sourceValue) /// not used by this TypeConverter. /// when set to true, will ignore the case when converting. /// - /// an instance of , or null if there is no suitable - /// conversion. + /// an instance of , or null if there is no suitable conversion. /// public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter into an instance of parameter into an instance of /// - /// the value to convert into an instance of the value to convert into an instance of . /// - /// an instance of , or null if there is no suitable - /// conversion. + /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesShutdownAcceptedResponseHeaders).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders).IsAssignableFrom(type)) { return sourceValue; } try { - return AzureLargeInstancesShutdownAcceptedResponseHeaders.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + return AzureLargeInstanceStartAcceptedResponseHeaders.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; } catch { @@ -131,11 +129,11 @@ public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzur } if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) { - return AzureLargeInstancesShutdownAcceptedResponseHeaders.DeserializeFromPSObject(sourceValue); + return AzureLargeInstanceStartAcceptedResponseHeaders.DeserializeFromPSObject(sourceValue); } if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) { - return AzureLargeInstancesShutdownAcceptedResponseHeaders.DeserializeFromDictionary(sourceValue); + return AzureLargeInstanceStartAcceptedResponseHeaders.DeserializeFromDictionary(sourceValue); } return null; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.cs similarity index 72% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.cs index 4a93ed4ac41..d9f6d4504cf 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.cs @@ -5,9 +5,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Extensions; - public partial class AzureLargeInstancesStartAcceptedResponseHeaders : - Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders, - Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal, + public partial class AzureLargeInstanceStartAcceptedResponseHeaders : + Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders, + Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IHeaderSerializable { @@ -24,9 +24,9 @@ public partial class AzureLargeInstancesStartAcceptedResponseHeaders : public int? RetryAfter { get => this._retryAfter; set => this._retryAfter = value; } /// - /// Creates an new instance. + /// Creates an new instance. /// - public AzureLargeInstancesStartAcceptedResponseHeaders() + public AzureLargeInstanceStartAcceptedResponseHeaders() { } @@ -36,15 +36,15 @@ void Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IHeaderSerial { if (headers.TryGetValues("Location", out var __locationHeader0)) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).Location = System.Linq.Enumerable.FirstOrDefault(__locationHeader0) is string __headerLocationHeader0 ? __headerLocationHeader0 : (string)null; + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).Location = System.Linq.Enumerable.FirstOrDefault(__locationHeader0) is string __headerLocationHeader0 ? __headerLocationHeader0 : (string)null; } if (headers.TryGetValues("Retry-After", out var __retryAfterHeader1)) { - ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeadersInternal)this).RetryAfter = System.Linq.Enumerable.FirstOrDefault(__retryAfterHeader1) is string __headerRetryAfterHeader1 ? int.TryParse( __headerRetryAfterHeader1, out int __headerRetryAfterHeader1Value ) ? __headerRetryAfterHeader1Value : default(int?) : default(int?); + ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeadersInternal)this).RetryAfter = System.Linq.Enumerable.FirstOrDefault(__retryAfterHeader1) is string __headerRetryAfterHeader1 ? int.TryParse( __headerRetryAfterHeader1, out int __headerRetryAfterHeader1Value ) ? __headerRetryAfterHeader1Value : default(int?) : default(int?); } } } - public partial interface IAzureLargeInstancesStartAcceptedResponseHeaders + public partial interface IAzureLargeInstanceStartAcceptedResponseHeaders { [Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Info( @@ -70,7 +70,7 @@ public partial interface IAzureLargeInstancesStartAcceptedResponseHeaders int? RetryAfter { get; set; } } - internal partial interface IAzureLargeInstancesStartAcceptedResponseHeadersInternal + internal partial interface IAzureLargeInstanceStartAcceptedResponseHeadersInternal { string Location { get; set; } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.json.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.json.cs similarity index 87% rename from tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.json.cs rename to tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.json.cs index 5ad141201a5..2e9b45f7df6 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstancesStartAcceptedResponseHeaders.json.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/api/Models/AzureLargeInstanceStartAcceptedResponseHeaders.json.cs @@ -5,7 +5,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models { using static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Extensions; - public partial class AzureLargeInstancesStartAcceptedResponseHeaders + public partial class AzureLargeInstanceStartAcceptedResponseHeaders { /// @@ -51,11 +51,11 @@ public partial class AzureLargeInstancesStartAcceptedResponseHeaders partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject into a new instance of . /// /// A Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject instance to deserialize from. - internal AzureLargeInstancesStartAcceptedResponseHeaders(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json) + internal AzureLargeInstanceStartAcceptedResponseHeaders(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json) { bool returnNow = false; BeforeFromJson(json, ref returnNow); @@ -67,26 +67,26 @@ internal AzureLargeInstancesStartAcceptedResponseHeaders(Microsoft.Azure.PowerSh } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders. /// - public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstancesStartAcceptedResponseHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Models.IAzureLargeInstanceStartAcceptedResponseHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode node) { - return node is Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json ? new AzureLargeInstancesStartAcceptedResponseHeaders(json) : null; + return node is Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject json ? new AzureLargeInstanceStartAcceptedResponseHeaders(json) : null; } /// - /// Serializes this instance of into a into a . /// /// The container to serialize this object into. If the caller /// passes in null, a new instance will be created and returned to the caller. /// Allows the caller to choose the depth of the serialization. See . /// - /// a serialized instance of as a as a . /// public Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode serializationMode) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_Get.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_Get.cs index 450d8e98686..836cc1b8569 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_Get.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_Get.cs @@ -381,7 +381,7 @@ protected override void ProcessRecord() foreach( var SubscriptionId in this.SubscriptionId ) { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesGet(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceGet(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_GetViaIdentity.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_GetViaIdentity.cs index 81b48fc91dd..10c4d7a69ff 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_GetViaIdentity.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_GetViaIdentity.cs @@ -341,7 +341,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesGetViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceGetViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); } else { @@ -358,7 +358,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesGet(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceGet(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List.cs index d0c20ca1173..ac0af502deb 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List.cs @@ -373,7 +373,7 @@ protected override void ProcessRecord() foreach( var SubscriptionId in this.SubscriptionId ) { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesListByResourceGroup(SubscriptionId, ResourceGroupName, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceListByResourceGroup(SubscriptionId, ResourceGroupName, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } } @@ -511,7 +511,7 @@ protected override void StopProcessing() { requestMessage = requestMessage.Clone(new global::System.Uri( _nextLink ),Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Method.Get ); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.FollowingNextLink); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesListByResourceGroup_Call(requestMessage, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceListByResourceGroup_Call(requestMessage, onOk, onDefault, this, Pipeline); } } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List1.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List1.cs index e3955e781c6..add6627ac12 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List1.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeInstance_List1.cs @@ -359,7 +359,7 @@ protected override void ProcessRecord() foreach( var SubscriptionId in this.SubscriptionId ) { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesListBySubscription(SubscriptionId, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceListBySubscription(SubscriptionId, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } } @@ -497,7 +497,7 @@ protected override void StopProcessing() { requestMessage = requestMessage.Clone(new global::System.Uri( _nextLink ),Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Method.Get ); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.FollowingNextLink); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesListBySubscription_Call(requestMessage, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceListBySubscription_Call(requestMessage, onOk, onDefault, this, Pipeline); } } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_Get.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_Get.cs index 4b04505c684..06b6639b692 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_Get.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_Get.cs @@ -381,7 +381,7 @@ protected override void ProcessRecord() foreach( var SubscriptionId in this.SubscriptionId ) { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesGet(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceGet(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_GetViaIdentity.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_GetViaIdentity.cs index c286063ee9b..4441f7b1673 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_GetViaIdentity.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_GetViaIdentity.cs @@ -342,7 +342,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeStorageInstancesGetViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceGetViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); } else { @@ -359,7 +359,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeStorageInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeStorageInstancesGet(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceGet(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List.cs index 3a6698cd1b2..4787b9a6fc7 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List.cs @@ -373,7 +373,7 @@ protected override void ProcessRecord() foreach( var SubscriptionId in this.SubscriptionId ) { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesListByResourceGroup(SubscriptionId, ResourceGroupName, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceListByResourceGroup(SubscriptionId, ResourceGroupName, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } } @@ -511,7 +511,7 @@ protected override void StopProcessing() { requestMessage = requestMessage.Clone(new global::System.Uri( _nextLink ),Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Method.Get ); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.FollowingNextLink); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesListByResourceGroup_Call(requestMessage, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceListByResourceGroup_Call(requestMessage, onOk, onDefault, this, Pipeline); } } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List1.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List1.cs index 4b922e48181..1d4e4ff0ced 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List1.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/GetAzAzureLargeInstanceAzureLargeStorageInstance_List1.cs @@ -359,7 +359,7 @@ protected override void ProcessRecord() foreach( var SubscriptionId in this.SubscriptionId ) { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesListBySubscription(SubscriptionId, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceListBySubscription(SubscriptionId, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } } @@ -497,7 +497,7 @@ protected override void StopProcessing() { requestMessage = requestMessage.Clone(new global::System.Uri( _nextLink ),Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Method.Get ); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.FollowingNextLink); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesListBySubscription_Call(requestMessage, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceListBySubscription_Call(requestMessage, onOk, onDefault, this, Pipeline); } } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateExpanded.cs index 31a7d823cfa..096431f6ce6 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateExpanded.cs @@ -532,7 +532,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -584,7 +584,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesCreate(SubscriptionId, ResourceGroupName, Name, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); + await this.Client.AzureLargeInstanceCreate(SubscriptionId, ResourceGroupName, Name, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaIdentityExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaIdentityExpanded.cs index 3fd8634d70b..703e8ccb9df 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaIdentityExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaIdentityExpanded.cs @@ -493,7 +493,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -547,7 +547,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesCreateViaIdentity(InputObject.Id, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); + await this.Client.AzureLargeInstanceCreateViaIdentity(InputObject.Id, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); } else { @@ -564,7 +564,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesCreate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); + await this.Client.AzureLargeInstanceCreate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonFilePath.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonFilePath.cs index 05f3683369a..f5722c96be5 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonFilePath.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonFilePath.cs @@ -359,7 +359,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -411,7 +411,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonString.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonString.cs index 4858b388b1c..97d8673eb71 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonString.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeInstance_CreateViaJsonString.cs @@ -357,7 +357,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -409,7 +409,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateExpanded.cs index fc8f25897f7..cc11b9dbd5c 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateExpanded.cs @@ -510,7 +510,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -563,7 +563,7 @@ protected override void ProcessRecord() { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } this.PreProcessManagedIdentityParameters(); - await this.Client.AzureLargeStorageInstancesCreate(SubscriptionId, ResourceGroupName, Name, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); + await this.Client.AzureLargeStorageInstanceCreate(SubscriptionId, ResourceGroupName, Name, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaIdentityExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaIdentityExpanded.cs index 5e87d945caf..2df7602a4a2 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaIdentityExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaIdentityExpanded.cs @@ -470,7 +470,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -525,7 +525,7 @@ protected override void ProcessRecord() if (InputObject?.Id != null) { this.PreProcessManagedIdentityParameters(); - await this.Client.AzureLargeStorageInstancesCreateViaIdentity(InputObject.Id, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); + await this.Client.AzureLargeStorageInstanceCreateViaIdentity(InputObject.Id, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); } else { @@ -543,7 +543,7 @@ protected override void ProcessRecord() ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeStorageInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } this.PreProcessManagedIdentityParameters(); - await this.Client.AzureLargeStorageInstancesCreate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); + await this.Client.AzureLargeStorageInstanceCreate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonFilePath.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonFilePath.cs index 9a5114c14e5..16487efe40f 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonFilePath.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonFilePath.cs @@ -359,7 +359,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -411,7 +411,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonString.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonString.cs index d3b823f652d..2da4529607a 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonString.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/NewAzAzureLargeInstanceAzureLargeStorageInstance_CreateViaJsonString.cs @@ -357,7 +357,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -409,7 +409,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceCreateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onCreated, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_Delete.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_Delete.cs index ed66cfc2f71..c800ebe2b71 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_Delete.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_Delete.cs @@ -337,7 +337,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesDelete' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceDelete' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -389,7 +389,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesDelete(SubscriptionId, ResourceGroupName, Name, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceDelete(SubscriptionId, ResourceGroupName, Name, onOk, onNoContent, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_DeleteViaIdentity.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_DeleteViaIdentity.cs index 79c37ec00c7..82d4b6ed553 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_DeleteViaIdentity.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeInstance_DeleteViaIdentity.cs @@ -297,7 +297,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesDelete' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceDelete' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -351,7 +351,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); } else { @@ -368,7 +368,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onNoContent, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_Delete.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_Delete.cs index 7c94703b9b4..ff5d7bf1133 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_Delete.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_Delete.cs @@ -337,7 +337,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesDelete' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceDelete' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -389,7 +389,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeStorageInstancesDelete(SubscriptionId, ResourceGroupName, Name, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceDelete(SubscriptionId, ResourceGroupName, Name, onOk, onNoContent, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_DeleteViaIdentity.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_DeleteViaIdentity.cs index 235898b142f..0624406580f 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_DeleteViaIdentity.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RemoveAzAzureLargeInstanceAzureLargeStorageInstance_DeleteViaIdentity.cs @@ -297,7 +297,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesDelete' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceDelete' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -351,7 +351,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeStorageInstancesDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); } else { @@ -368,7 +368,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeStorageInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeStorageInstancesDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.AzureLargeStorageInstanceDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, onOk, onNoContent, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_Restart.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_Restart.cs index 4f12f6db2ab..539cca69b51 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_Restart.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_Restart.cs @@ -395,7 +395,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesRestart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceRestart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -459,7 +459,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesRestart(SubscriptionId, ResourceGroupName, Name, ForceParameter, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestart(SubscriptionId, ResourceGroupName, Name, ForceParameter, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartExpanded.cs index d91f55d290e..45f9b4d0b3e 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartExpanded.cs @@ -397,7 +397,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesRestart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceRestart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -461,7 +461,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesRestart(SubscriptionId, ResourceGroupName, Name, _forceParameterBody, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestart(SubscriptionId, ResourceGroupName, Name, _forceParameterBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentity.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentity.cs index 378611985f0..f9a636ae47f 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentity.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentity.cs @@ -354,7 +354,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesRestart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceRestart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -420,7 +420,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesRestartViaIdentity(InputObject.Id, ForceParameter, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestartViaIdentity(InputObject.Id, ForceParameter, onOk, onDefault, this, Pipeline); } else { @@ -437,7 +437,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesRestart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, ForceParameter, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, ForceParameter, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentityExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentityExpanded.cs index 097d6965c79..3042fc6a68e 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentityExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaIdentityExpanded.cs @@ -354,7 +354,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesRestart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceRestart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -420,7 +420,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesRestartViaIdentity(InputObject.Id, _forceParameterBody, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestartViaIdentity(InputObject.Id, _forceParameterBody, onOk, onDefault, this, Pipeline); } else { @@ -437,7 +437,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesRestart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, _forceParameterBody, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, _forceParameterBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonFilePath.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonFilePath.cs index 7e0cdc373ae..62313942b86 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonFilePath.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonFilePath.cs @@ -395,7 +395,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesRestart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceRestart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -459,7 +459,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesRestartViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestartViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonString.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonString.cs index df4f3770cde..6563928afac 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonString.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/RestartAzAzureLargeInstanceAzureLargeInstance_RestartViaJsonString.cs @@ -393,7 +393,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesRestart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceRestart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -457,7 +457,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesRestartViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceRestartViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_Start.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_Start.cs index 4802432e275..cf9cd479d7c 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_Start.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_Start.cs @@ -376,7 +376,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesStart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceStart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -440,7 +440,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesStart(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceStart(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_StartViaIdentity.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_StartViaIdentity.cs index b257ee98f02..3fd7cc541e2 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_StartViaIdentity.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StartAzAzureLargeInstanceAzureLargeInstance_StartViaIdentity.cs @@ -335,7 +335,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesStart' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceStart' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -401,7 +401,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesStartViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceStartViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); } else { @@ -418,7 +418,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesStart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceStart(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_Shutdown.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_Shutdown.cs index d433e7f3b39..7531ca25483 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_Shutdown.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_Shutdown.cs @@ -376,7 +376,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesShutdown' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceShutdown' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -440,7 +440,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesShutdown(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceShutdown(SubscriptionId, ResourceGroupName, Name, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_ShutdownViaIdentity.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_ShutdownViaIdentity.cs index cb017d044da..38c2f249c7e 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_ShutdownViaIdentity.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/StopAzAzureLargeInstanceAzureLargeInstance_ShutdownViaIdentity.cs @@ -335,7 +335,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesShutdown' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceShutdown' operation")) { if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) { @@ -401,7 +401,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesShutdownViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceShutdownViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); } else { @@ -418,7 +418,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesShutdown(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceShutdown(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateExpanded.cs index bcb9ea5fbaf..644c5f6c38e 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateExpanded.cs @@ -337,7 +337,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesUpdate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceUpdate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -389,7 +389,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesUpdate(SubscriptionId, ResourceGroupName, Name, _propertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); + await this.Client.AzureLargeInstanceUpdate(SubscriptionId, ResourceGroupName, Name, _propertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaIdentityExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaIdentityExpanded.cs index 16f860df967..e63b7bd441b 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaIdentityExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaIdentityExpanded.cs @@ -297,7 +297,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesUpdate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceUpdate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -351,7 +351,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AzureLargeInstancesUpdateViaIdentity(InputObject.Id, _propertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); + await this.Client.AzureLargeInstanceUpdateViaIdentity(InputObject.Id, _propertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); } else { @@ -368,7 +368,7 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AzureLargeInstancesUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, _propertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); + await this.Client.AzureLargeInstanceUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeInstanceName ?? null, _propertiesBody, onOk, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonFilePath.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonFilePath.cs index 03655ae25ba..84b6cb6feb8 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonFilePath.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonFilePath.cs @@ -338,7 +338,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesUpdate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceUpdate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -390,7 +390,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesUpdateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceUpdateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonString.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonString.cs index cc657bc18af..8d84b8a77c2 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonString.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeInstance_UpdateViaJsonString.cs @@ -336,7 +336,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeInstancesUpdate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeInstanceUpdate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -388,7 +388,7 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AzureLargeInstancesUpdateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); + await this.Client.AzureLargeInstanceUpdateViaJsonString(SubscriptionId, ResourceGroupName, Name, _jsonString, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateExpanded.cs index 3cba29fa357..b64f921cc86 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateExpanded.cs @@ -503,7 +503,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -555,10 +555,10 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - _resourceBody = await this.Client.AzureLargeStorageInstancesGetWithResult(SubscriptionId, ResourceGroupName, Name, this, Pipeline); + _resourceBody = await this.Client.AzureLargeStorageInstanceGetWithResult(SubscriptionId, ResourceGroupName, Name, this, Pipeline); this.PreProcessManagedIdentityParametersWithGetResult(); this.Update_resourceBody(); - await this.Client.AzureLargeStorageInstancesCreate(SubscriptionId, ResourceGroupName, Name, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); + await this.Client.AzureLargeStorageInstanceCreate(SubscriptionId, ResourceGroupName, Name, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.UndeclaredResponseException urexception) diff --git a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateViaIdentityExpanded.cs b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateViaIdentityExpanded.cs index 6899b5d1f25..965bba18e8a 100644 --- a/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateViaIdentityExpanded.cs +++ b/tests-upgrade/tests-emitter/AzureLargeInstance.Management/target/generated/cmdlets/UpdateAzAzureLargeInstanceAzureLargeStorageInstance_UpdateViaIdentityExpanded.cs @@ -463,7 +463,7 @@ protected override void ProcessRecord() try { // work - if (ShouldProcess($"Call remote 'AzureLargeStorageInstancesCreate' operation")) + if (ShouldProcess($"Call remote 'AzureLargeStorageInstanceCreate' operation")) { using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token) ) { @@ -517,10 +517,10 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - _resourceBody = await this.Client.AzureLargeStorageInstancesGetViaIdentityWithResult(InputObject.Id, this, Pipeline); + _resourceBody = await this.Client.AzureLargeStorageInstanceGetViaIdentityWithResult(InputObject.Id, this, Pipeline); this.PreProcessManagedIdentityParametersWithGetResult(); this.Update_resourceBody(); - await this.Client.AzureLargeStorageInstancesCreateViaIdentity(InputObject.Id, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); + await this.Client.AzureLargeStorageInstanceCreateViaIdentity(InputObject.Id, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); } else { @@ -537,10 +537,10 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.AzureLargeStorageInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - _resourceBody = await this.Client.AzureLargeStorageInstancesGetWithResult(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, this, Pipeline); + _resourceBody = await this.Client.AzureLargeStorageInstanceGetWithResult(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, this, Pipeline); this.PreProcessManagedIdentityParametersWithGetResult(); this.Update_resourceBody(); - await this.Client.AzureLargeStorageInstancesCreate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); + await this.Client.AzureLargeStorageInstanceCreate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.AzureLargeStorageInstanceName ?? null, _resourceBody, onOk, onCreated, onDefault, this, Pipeline, Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeCreate|Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.SerializationMode.IncludeUpdate); } await ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.AzureLargeInstance.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } }